diff --git a/Dockerfile b/Dockerfile index 90d87f4b..fcdafaaa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ RUN go build -ldflags "${SERVER_LDFLAGS}" ./cmd/timestamp-server RUN CGO_ENABLED=0 go build -gcflags "all=-N -l" -ldflags "${SERVER_LDFLAGS}" -o timestamp-server_debug ./cmd/timestamp-server # debug compile options & debugger -FROM registry.access.redhat.com/ubi9/go-toolset@sha256:84286c7555df503df0bd3acb86fe2ad50af82a07f35707918bb0fad312fdc193 as debug +FROM registry.access.redhat.com/ubi9/go-toolset@sha256:2e8adc5be8eba060e919a6f7309a7b5ef09dd72d3ae9e747b9eb02e96f35a0f5 as debug RUN go install github.com/go-delve/delve/cmd/dlv@v1.9.0 # overwrite server and include debugger diff --git a/Dockerfile.fetch_tsa_certs.rh b/Dockerfile.fetch_tsa_certs.rh index 8b7dcf4d..4fabc4e3 100644 --- a/Dockerfile.fetch_tsa_certs.rh +++ b/Dockerfile.fetch_tsa_certs.rh @@ -19,7 +19,7 @@ RUN go build -mod=readonly -o fetch_tsa_certs_linux -trimpath ./cmd/fetch-tsa-ce gzip fetch_tsa_certs_darwin_amd64 && \ gzip fetch_tsa_certs_windows_amd64.exe -FROM registry.access.redhat.com/ubi9-minimal@sha256:7c5495d5fad59aaee12abc3cbbd2b283818ee1e814b00dbc7f25bf2d14fa4f0c +FROM registry.access.redhat.com/ubi9-minimal@sha256:161a4e29ea482bab6048c2b36031b4f302ae81e4ff18b83e61785f40dc576f5d ENV APP_ROOT=/opt/app-root WORKDIR $APP_ROOT/src/ diff --git a/Dockerfile.tsa.rh b/Dockerfile.tsa.rh index 5851a78a..725f7030 100644 --- a/Dockerfile.tsa.rh +++ b/Dockerfile.tsa.rh @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM registry.redhat.io/ubi9/go-toolset:9.6@sha256:84286c7555df503df0bd3acb86fe2ad50af82a07f35707918bb0fad312fdc193 AS builder +FROM registry.redhat.io/ubi9/go-toolset:9.6@sha256:6f0e6c534d6b785530f7961089f444bbb14d384bfa3ea09070f5a70029b4a5cb AS builder ENV GOEXPERIMENT=strictfipsruntime ENV CGO_ENABLED=1 ENV APP_ROOT=/opt/app-root @@ -29,14 +29,14 @@ RUN git config --global --add safe.directory /opt/app-root/src && \ go build -mod=readonly -ldflags "${SERVER_LDFLAGS}" ./cmd/timestamp-server # debug compile options & debugger -FROM registry.redhat.io/ubi9/go-toolset:9.6@sha256:84286c7555df503df0bd3acb86fe2ad50af82a07f35707918bb0fad312fdc193 AS debug +FROM registry.redhat.io/ubi9/go-toolset:9.6@sha256:6f0e6c534d6b785530f7961089f444bbb14d384bfa3ea09070f5a70029b4a5cb AS debug RUN go install github.com/go-delve/delve/cmd/dlv@v1.9.0 # overwrite server and include debugger COPY --from=builder /opt/app-root/src/timestamp-server_debug /usr/local/bin/timestamp-server # Multi-Stage production build -FROM registry.access.redhat.com/ubi9-minimal@sha256:7c5495d5fad59aaee12abc3cbbd2b283818ee1e814b00dbc7f25bf2d14fa4f0c AS deploy +FROM registry.access.redhat.com/ubi9-minimal@sha256:161a4e29ea482bab6048c2b36031b4f302ae81e4ff18b83e61785f40dc576f5d AS deploy LABEL description="The timestamp-authority is a process that provides a timestamp record of when a document was created or modified." LABEL io.k8s.description="The timestamp-authority is a process that provides a timestamp record of when a document was created or modified."