You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile.fetch_tsa_certs.rh
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.23@sha256:96cfceb50f5323efa1aa8569d4420cdbf1bb391225d5171ef72a0d0ecf028467 as build-env
1
+
FROM registry.redhat.io/ubi9/go-toolset:1.24@sha256:6fd64cd7f38a9b87440f963b6c04953d04de65c35b9672dbd7f1805b0ae20d09 as build-env
Copy file name to clipboardExpand all lines: Dockerfile.tsa.rh
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,9 @@
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.23@sha256:96cfceb50f5323efa1aa8569d4420cdbf1bb391225d5171ef72a0d0ecf028467 as builder
15
+
FROM registry.redhat.io/ubi9/go-toolset:1.24@sha256:6fd64cd7f38a9b87440f963b6c04953d04de65c35b9672dbd7f1805b0ae20d09 AS builder
16
+
ENV GOEXPERIMENT=strictfipsruntime
17
+
ENV CGO_ENABLED=1
16
18
ENV APP_ROOT=/opt/app-root
17
19
ENV GOPATH=$APP_ROOT
18
20
@@ -24,17 +26,17 @@ ADD ./pkg/ $APP_ROOT/src/pkg/
24
26
25
27
RUN git config --global --add safe.directory /opt/app-root/src && \
26
28
go mod download && \
27
-
CGO_ENABLED=0 go build -mod=readonly -ldflags "${SERVER_LDFLAGS}" ./cmd/timestamp-server
29
+
go build -mod=readonly -ldflags "${SERVER_LDFLAGS}" ./cmd/timestamp-server
28
30
29
31
# debug compile options & debugger
30
-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.23@sha256:96cfceb50f5323efa1aa8569d4420cdbf1bb391225d5171ef72a0d0ecf028467 as debug
32
+
FROM registry.redhat.io/ubi9/go-toolset:1.24@sha256:6fd64cd7f38a9b87440f963b6c04953d04de65c35b9672dbd7f1805b0ae20d09 AS debug
31
33
RUN go install github.com/go-delve/delve/cmd/dlv@v1.9.0
0 commit comments