Skip to content

Commit

Permalink
Set flags known to assist reproducible builds (#120)
Browse files Browse the repository at this point in the history
This is a little experiment to see whether getting reproducible docker images is a possibility.
  • Loading branch information
mhutchinson authored Feb 29, 2024
1 parent ca967d9 commit 361fee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.22.0-alpine3.19@sha256:8e96e6cff6a388c2f70f5f662b64120941fcd7d4b89d62fec87520323a316bd9 AS builder

ARG GOFLAGS=""
ARG GOFLAGS="-trimpath -buildvcs=false -buildmode=exe"
ENV GOFLAGS=$GOFLAGS

# Move to working directory /build
Expand Down

0 comments on commit 361fee3

Please sign in to comment.