fix connection_reset errors when uploading large data
This commit is contained in:
parent
446f5a432c
commit
ad9201b921
@ -9,7 +9,7 @@ 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 scratch
|
||||
FROM gcr.io/distroless/static
|
||||
COPY --from=builder /etc/ssl/cert.pem /etc/ssl/
|
||||
COPY --from=builder /app/fm /fm
|
||||
ENTRYPOINT ["/fm"]
|
||||
|
Loading…
Reference in New Issue
Block a user