Skip to content

Commit

Permalink
Updating Base Images to use Registry Go (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyd450 authored Sep 23, 2024
1 parent e7d263a commit df97e79
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.createctconfig.rh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the createctconfig binary
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21@sha256:98a0ff138c536eee98704d6909699ad5d0725a20573e2c510a60ef462b45cce0 AS build-env
FROM registry.redhat.io/rhel9/go-toolset@sha256:04be9e51263ab743cbcb778921b23527a3e35d493136fd353a90670d84ac457f AS build-env
WORKDIR /createctconfig
RUN git config --global --add safe.directory /createctconfig

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ctlog-managectroots.rh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the managectroots binary
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21@sha256:98a0ff138c536eee98704d6909699ad5d0725a20573e2c510a60ef462b45cce0 AS build-env
FROM registry.redhat.io/rhel9/go-toolset@sha256:04be9e51263ab743cbcb778921b23527a3e35d493136fd353a90670d84ac457f AS build-env
WORKDIR /ctlog-managectroots
RUN git config --global --add safe.directory /ctlog-managectroots

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ctlog-verifyfulcio.rh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the verifyfulcio binary
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21@sha256:98a0ff138c536eee98704d6909699ad5d0725a20573e2c510a60ef462b45cce0 AS build-env
FROM registry.redhat.io/rhel9/go-toolset@sha256:04be9e51263ab743cbcb778921b23527a3e35d493136fd353a90670d84ac457f AS build-env
WORKDIR /ctlog-verifyfulcio
RUN git config --global --add safe.directory /ctlog-verifyfulcio

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.fulcio-createcerts.rh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the createcerts binary
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21@sha256:98a0ff138c536eee98704d6909699ad5d0725a20573e2c510a60ef462b45cce0 AS build-env
FROM registry.redhat.io/rhel9/go-toolset@sha256:04be9e51263ab743cbcb778921b23527a3e35d493136fd353a90670d84ac457f AS build-env
WORKDIR /createcerts
RUN git config --global --add safe.directory /createcerts

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.trillian-createdb.rh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the createdb binary
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21@sha256:98a0ff138c536eee98704d6909699ad5d0725a20573e2c510a60ef462b45cce0 AS build-env
FROM registry.redhat.io/rhel9/go-toolset@sha256:04be9e51263ab743cbcb778921b23527a3e35d493136fd353a90670d84ac457f AS build-env
WORKDIR /createdb
RUN git config --global --add safe.directory /createdb

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.trillian-createtree.rh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the createtree binary
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21@sha256:98a0ff138c536eee98704d6909699ad5d0725a20573e2c510a60ef462b45cce0 AS build-env
FROM registry.redhat.io/rhel9/go-toolset@sha256:04be9e51263ab743cbcb778921b23527a3e35d493136fd353a90670d84ac457f AS build-env
WORKDIR /createtree
RUN git config --global --add safe.directory /createtree

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.tuf-server.rh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the tuf server binary
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21@sha256:98a0ff138c536eee98704d6909699ad5d0725a20573e2c510a60ef462b45cce0 AS build-env
FROM registry.redhat.io/rhel9/go-toolset@sha256:04be9e51263ab743cbcb778921b23527a3e35d493136fd353a90670d84ac457f AS build-env
WORKDIR /tuf-server
RUN git config --global --add safe.directory /tuf-server

Expand All @@ -9,7 +9,7 @@ RUN go mod vendor
RUN make build-tuf-server

# Install server
FROM registry.access.redhat.com/ubi9-minimal@sha256:35a12657ce1bcb2b7667f4e6e0147186c1e0172cc43ece5452ab85afd6532791
FROM registry.access.redhat.com/ubi9-minimal@sha256:1b6d711648229a1c987f39cfdfccaebe2bd92d0b5d8caa5dbaa5234a9278a0b2
COPY --from=build-env /tuf-server/server /usr/local/bin/tuf-server
RUN chown root:0 /usr/local/bin/tuf-server && chmod g+wx /usr/local/bin/tuf-server

Expand Down

0 comments on commit df97e79

Please sign in to comment.