diff --git a/Dockerfile b/Dockerfile index 97a610f..908a00a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,6 @@ 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 scratch +COPY --from=builder /etc/ssl/cert.pem /etc/ssl/ COPY --from=builder /app/fm /fm ENTRYPOINT ["/fm"]