Change base image to scratch
All checks were successful
Deploy and Push Docker Image / BuildAndPush (push) Successful in 47s
All checks were successful
Deploy and Push Docker Image / BuildAndPush (push) Successful in 47s
This commit is contained in:
@ -14,7 +14,7 @@ ARG TARGETARCH
|
|||||||
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH \
|
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH \
|
||||||
go build -a -installsuffix cgo -o weewoowebhook /app/cmd/wee_woo_webhook/main.go
|
go build -a -installsuffix cgo -o weewoowebhook /app/cmd/wee_woo_webhook/main.go
|
||||||
|
|
||||||
FROM alpine
|
FROM scratch
|
||||||
|
|
||||||
# Copy statically built binary from the builder
|
# Copy statically built binary from the builder
|
||||||
COPY --from=builder /app/weewoowebhook /weewoowebhook
|
COPY --from=builder /app/weewoowebhook /weewoowebhook
|
||||||
|
|||||||
Reference in New Issue
Block a user