diff --git a/Dockerfile b/Dockerfile index bb317e6..489d4c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,6 @@ FROM golang:alpine AS builder WORKDIR /app -RUN apk add git - RUN go install github.com/beego/bee/v2@latest WORKDIR /oc-shared @@ -33,7 +31,7 @@ RUN mkdir -p /app/extracted && tar -zxvf oc-shared.tar.gz -C /app/extracted #---------------------------------------------------------------------------------------------- -FROM golang:alpine +FROM scratch WORKDIR /app COPY --from=builder /app/extracted/oc-shared /usr/bin/