diff --git a/Dockerfile b/Dockerfile index e382b72..97a610f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,6 @@ ARG TARGETVARIANT 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 alpine:3.20 +FROM scratch COPY --from=builder /app/fm /fm ENTRYPOINT ["/fm"]