File tree Expand file tree Collapse file tree 10 files changed +14
-14
lines changed
Expand file tree Collapse file tree 10 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1- FROM registry.redhat.io/ubi9/go-toolset:9.7@sha256:799cc027d5ad58cdc156b65286eb6389993ec14c496cf748c09834b7251e78dc AS build
1+ FROM registry.redhat.io/ubi9/go-toolset:9.7-1773088126 @sha256:6da1160c0e8da15b585560ac6ef7b0179f17686aeaaa477ead6427daf8948fea AS build
22ENV APP_ROOT=/opt/app-root \
33 GOPATH=/opt/app-root \
44 CGO_ENABLED=1 \
@@ -19,7 +19,7 @@ RUN go mod download && \
1919 gzip createtree-windows-amd64.exe
2020
2121# Multi-Stage production build
22- FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:c7d44146f826037f6873d99da479299b889473492d3c1ab8af86f08af04ec8a0 AS deploy
22+ FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:69f5c9886ecb19b23e88275a5cd904c47dd982dfa370fbbd0c356d7b1047ef68 AS deploy
2323
2424# Add license file
2525COPY LICENSE /licenses/LICENSE
Original file line number Diff line number Diff line change 1- FROM registry.redhat.io/ubi9/go-toolset:9.7@sha256:799cc027d5ad58cdc156b65286eb6389993ec14c496cf748c09834b7251e78dc AS builder
1+ FROM registry.redhat.io/ubi9/go-toolset:9.7-1773088126 @sha256:6da1160c0e8da15b585560ac6ef7b0179f17686aeaaa477ead6427daf8948fea AS builder
22ENV APP_ROOT=/opt/app-root
33ENV GOPATH=$APP_ROOT
44ENV CGO_ENABLED=1
@@ -16,7 +16,7 @@ ADD ./ $APP_ROOT/src/
1616RUN go build -mod=mod -v ./cmd/trillian_log_server
1717
1818# Multi-Stage production build
19- FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:c7d44146f826037f6873d99da479299b889473492d3c1ab8af86f08af04ec8a0 AS deploy
19+ FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:69f5c9886ecb19b23e88275a5cd904c47dd982dfa370fbbd0c356d7b1047ef68 AS deploy
2020
2121# Retrieve the binary from the previous stage
2222COPY --from=builder /opt/app-root/src/trillian_log_server /
Original file line number Diff line number Diff line change 1- FROM registry.redhat.io/ubi9/go-toolset:9.7@sha256:799cc027d5ad58cdc156b65286eb6389993ec14c496cf748c09834b7251e78dc AS builder
1+ FROM registry.redhat.io/ubi9/go-toolset:9.7-1773088126 @sha256:6da1160c0e8da15b585560ac6ef7b0179f17686aeaaa477ead6427daf8948fea AS builder
22ENV APP_ROOT=/opt/app-root
33ENV GOPATH=$APP_ROOT
44ENV CGO_ENABLED=1
@@ -16,7 +16,7 @@ ADD ./ $APP_ROOT/src/
1616RUN go build -mod=mod -v ./cmd/trillian_log_signer
1717
1818# Multi-Stage production build
19- FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:c7d44146f826037f6873d99da479299b889473492d3c1ab8af86f08af04ec8a0 AS deploy
19+ FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:69f5c9886ecb19b23e88275a5cd904c47dd982dfa370fbbd0c356d7b1047ef68 AS deploy
2020
2121# Retrieve the binary from the previous stage
2222COPY --from=builder /opt/app-root/src/trillian_log_signer /
Original file line number Diff line number Diff line change 1- FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:c7d44146f826037f6873d99da479299b889473492d3c1ab8af86f08af04ec8a0
1+ FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:69f5c9886ecb19b23e88275a5cd904c47dd982dfa370fbbd0c356d7b1047ef68
22
33LABEL description="Netcat is a computer networking utility for reading from and writing to network connections using TCP or UDP."
44LABEL io.k8s.description="netcat is a computer networking utility for reading from and writing to network connections using TCP or UDP."
Original file line number Diff line number Diff line change 1- FROM registry.redhat.io/ubi9/go-toolset:9.7@sha256:799cc027d5ad58cdc156b65286eb6389993ec14c496cf748c09834b7251e78dc AS build
1+ FROM registry.redhat.io/ubi9/go-toolset:9.7-1773088126 @sha256:6da1160c0e8da15b585560ac6ef7b0179f17686aeaaa477ead6427daf8948fea AS build
22ENV APP_ROOT=/opt/app-root \
33 GOPATH=/opt/app-root \
44 CGO_ENABLED=1 \
@@ -19,7 +19,7 @@ RUN go mod download && \
1919 gzip updatetree-windows-amd64.exe
2020
2121# Multi-Stage production build
22- FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:c7d44146f826037f6873d99da479299b889473492d3c1ab8af86f08af04ec8a0 AS deploy
22+ FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:69f5c9886ecb19b23e88275a5cd904c47dd982dfa370fbbd0c356d7b1047ef68 AS deploy
2323
2424# Add license file
2525COPY LICENSE /licenses/LICENSE
Original file line number Diff line number Diff line change 1- FROM mysql:9.6@sha256:932fe8fbc04c1488a38f8cab0f30cdac8d7753bded3df1762475a8001a323bc4
1+ FROM mysql:9.6@sha256:e5dc14f6e01c3e577e669337d2855c6d1561b30d8ef2c592e63e4e8a9a52650a
22
33
44# TODO(roger2hk): Uncomment the below OS-level packages patch command as this is a temporary workaround to bypass the mysql8 gpg key rotation issue.
Original file line number Diff line number Diff line change 1- FROM postgres:17.7 @sha256:4493696c5ba6a9cd4a3303411d5dd6af52cf5e34cdd87ba8ebf26a19735f84d1
1+ FROM postgres:17.9 @sha256:2cd82735a36356842d5eb1ef80db3ae8f1154172f0f653db48fde079b2a0b7f7
22
33# expects the build context to be: $GOPATH/src/github.com/google/trillian
44COPY storage/postgresql/schema/storage.sql /docker-entrypoint-initdb.d/storage.sql
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ RUN go install ./cmd/trillian_log_server
1818RUN go run github.com/google/go-licenses/v2 save ./cmd/trillian_log_server --save_path /THIRD_PARTY_NOTICES
1919
2020# Make a minimal image.
21- FROM gcr.io/distroless/base-debian12@sha256:347a41e7f263ea7f7aba1735e5e5b1439d9e41a9f09179229f8c13ea98ae94cf
21+ FROM gcr.io/distroless/base-debian12@sha256:937c7eaaf6f3f2d38a1f8c4aeff326f0c56e4593ea152e9e8f74d976dde52f56
2222
2323COPY --from=build /go/bin/trillian_log_server /
2424COPY --from=build /THIRD_PARTY_NOTICES /THIRD_PARTY_NOTICES
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ RUN go install ./cmd/trillian_log_signer
1818RUN go run github.com/google/go-licenses/v2 save ./cmd/trillian_log_signer --save_path /THIRD_PARTY_NOTICES
1919
2020# Make a minimal image.
21- FROM gcr.io/distroless/base-debian12@sha256:347a41e7f263ea7f7aba1735e5e5b1439d9e41a9f09179229f8c13ea98ae94cf
21+ FROM gcr.io/distroless/base-debian12@sha256:937c7eaaf6f3f2d38a1f8c4aeff326f0c56e4593ea152e9e8f74d976dde52f56
2222
2323COPY --from=build /go/bin/trillian_log_signer /
2424COPY --from=build /THIRD_PARTY_NOTICES /THIRD_PARTY_NOTICES
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515
16- FROM ubuntu:noble@sha256:cd1dba651b3080c3686ecf4e3c4220f026b521fb76978881737d24f200828b2b
16+ FROM ubuntu:noble@sha256:d1e2e92c075e5ca139d51a140fff46f84315c0fdce203eab2807c7e495eff4f9
1717
1818# Patch the OS-level packages and remove unneeded dependencies.
1919RUN apt-get update \
You can’t perform that action at this time.
0 commit comments