diff --git a/Dockerfile b/Dockerfile index 7255761..b49988f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,5 @@ ARG version RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GOARM=${TARGETVARIANT#v} go build -a -ldflags "-w -s -X main.version=$version -extldflags '-static'" -o fm ./cmd/flightlesssomething/main.go FROM gcr.io/distroless/static -COPY --from=builder /etc/ssl/cert.pem /etc/ssl/ COPY --from=builder /app/fm /fm ENTRYPOINT ["/fm"]