|
1 | 1 | ARG OS_CODENAME=bookworm
|
2 | 2 |
|
3 |
| -FROM ghcr.io/gythialy/golang-cross-builder:v1.23.5-0-${OS_CODENAME:-bookworm} |
| 3 | +FROM ghcr.io/gythialy/golang-cross-builder:v1.23.6-0-${OS_CODENAME:-bookworm} |
4 | 4 |
|
5 | 5 | LABEL maintainer="Goren G<gythialy.koo+github@gmail.com>"
|
6 | 6 | LABEL org.opencontainers.image.source https://github.com/gythialy/golang-cross
|
7 | 7 |
|
8 | 8 | COPY entrypoint.sh /
|
9 | 9 |
|
10 | 10 | # install cosign
|
11 |
| -ARG COSIGN_VERSION=v2.4.1 |
12 |
| -ARG COSIGN_SHA=8b24b946dd5809c6bd93de08033bcf6bc0ed7d336b7785787c080f574b89249b |
| 11 | +ARG COSIGN_VERSION=v2.4.2 |
| 12 | +ARG COSIGN_SHA=e7f5bd99a790703333e8f8e8e6c91d5e646f3d7041e4cf935b56587de20cec3f |
13 | 13 | RUN \
|
14 | 14 | COSIGN_DOWNLOAD_FILE=cosign-linux-amd64 && \
|
15 | 15 | wget -O $COSIGN_DOWNLOAD_FILE https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/${COSIGN_DOWNLOAD_FILE} && \
|
|
19 | 19 | cosign version
|
20 | 20 |
|
21 | 21 | # install syft
|
22 |
| -ARG SYFT_VERSION=v1.18.1 |
23 |
| -ARG SYFT_SHA=066c251652221e4d44fcc4d115ce3df33a91769da38c830a8533199db2f65aab |
| 22 | +ARG SYFT_VERSION=v1.19.0 |
| 23 | +ARG SYFT_SHA=1dec148ea36aef68a866e35528974b5dbc106ba0b545f1a262ad977d48294637 |
24 | 24 | RUN \
|
25 | 25 | SYFT_DOWNLOAD_FILE=syft_${SYFT_VERSION#v}_linux_amd64.tar.gz && \
|
26 | 26 | SYFT_DOWNLOAD_URL=https://github.com/anchore/syft/releases/download/${SYFT_VERSION}/${SYFT_DOWNLOAD_FILE} && \
|
|
29 | 29 | tar -xzf $SYFT_DOWNLOAD_FILE -C /usr/bin/ syft && \
|
30 | 30 | rm $SYFT_DOWNLOAD_FILE
|
31 | 31 |
|
32 |
| -ARG GO_VERSION=go1.23.5 |
33 |
| -ARG GOLANG_DIST_SHA=cbcad4a6482107c7c7926df1608106c189417163428200ce357695cc7e01d091 |
| 32 | +ARG GO_VERSION=go1.23.6 |
| 33 | +ARG GOLANG_DIST_SHA=9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d |
34 | 34 | # update golang
|
35 | 35 | RUN \
|
36 | 36 | GOLANG_DIST=https://storage.googleapis.com/golang/${GO_VERSION}.linux-amd64.tar.gz && \
|
|
42 | 42 | go version
|
43 | 43 |
|
44 | 44 | # install goreleaser
|
45 |
| -ARG GORELEASER_VERSION=v2.5.1 |
46 |
| -ARG GORELEASER_SHA=dfdbde64f57a7667bdcf5906c5df8ceaf19fb3175c1b352534ed22ca78b7a4c7 |
| 45 | +ARG GORELEASER_VERSION=v2.6.1 |
| 46 | +ARG GORELEASER_SHA=517bc6422ed3fc4ae12900216cdab047dbb1dc60610174a170f7b760f171e27f |
47 | 47 | # RUN \
|
48 | 48 | # wget https://github.com/goreleaser/goreleaser/releases/download/$GORELEASER_VERSION/checksums.txt.pem && \
|
49 | 49 | # cosign verify-blob --certificate checksums.txt.pem --signature https://github.com/goreleaser/goreleaser/releases/download/$GORELEASER_VERSION/checksums.txt.sig https://github.com/goreleaser/goreleaser/releases/download/$GORELEASER_VERSION/checksums.txt && \
|
|
0 commit comments