docker filescratch

This commit is contained in:
mr
2026-02-09 09:00:21 +01:00
parent 0233621020
commit c3e2879085

View File

@@ -12,7 +12,6 @@ FROM golang:alpine AS builder
WORKDIR /app
RUN apk add git
RUN go install github.com/beego/bee/v2@latest
@@ -34,7 +33,7 @@ RUN mkdir -p /app/extracted && tar -zxvf oc-workspace.tar.gz -C /app/extracted
#----------------------------------------------------------------------------------------------
FROM golang:alpine
FROM scratch
WORKDIR /app
COPY --from=builder /app/extracted/oc-workspace /usr/bin/