Skip to content

Commit

Permalink
Go 1.22.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dooman87 committed Aug 16, 2024
1 parent 43fee2c commit 2d3b96c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,7 @@ RUN set -eux; \
touch -t "$touchy" /target/usr/local /target/usr /target; \
\
# smoke test
go version; \
# make sure our reproducibile timestamp is probably still correct (best-effort inline reproducibility test)
epoch="$(stat -c '%Y' /usr/local/go)"; \
[ "$SOURCE_DATE_EPOCH" = "$epoch" ]
go version;

ENV GOPATH /go
ENV PATH $GOPATH/bin:$PATH
Expand Down
5 changes: 1 addition & 4 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,7 @@ RUN set -eux; \
touch -t "$touchy" /target/usr/local /target/usr /target; \
\
# smoke test
go version; \
# make sure our reproducibile timestamp is probably still correct (best-effort inline reproducibility test)
epoch="$(stat -c '%Y' /usr/local/go)"; \
[ "$SOURCE_DATE_EPOCH" = "$epoch" ]
go version;

ENV GOPATH /go
ENV PATH $GOPATH/bin:$PATH
Expand Down

0 comments on commit 2d3b96c

Please sign in to comment.