Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 [main] Update image version in Dockerfiles #272

Merged
merged 4 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile.createtree.rh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:34492a70838d50a40f72adb126eeaae41d2cb6e054af829d16121da4dc7048e1 AS build-env
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:ab6e4ea87075b71c67cae7c5f5131ce4508ac62d5c1b048781fed310573b4e95 AS build-env
ENV APP_ROOT=/opt/app-root
ENV GOPATH=$APP_ROOT
ENV CGO_ENABLED=false
Expand All @@ -22,7 +22,7 @@ RUN go mod download && \
gzip createtree-windows-amd64.exe

# Multi-Stage production build
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:73f7dcacb460dad137a58f24668470a5a2e47378838a0190eef0ab532c6e8998 AS deploy
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:efadc50470c32141c257341694c6312234c0700e0407ed2a60c8b5c26b6af6fc AS deploy

# Retrieve the binary from the previous stage
COPY --from=build-env /opt/app-root/src/createtree /
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.database.rh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.redhat.io/rhel9/mariadb-105@sha256:5d42c984ea6f203bc3e39d737b2b632f1611704428ddd4635cb89dea6cf4b725
FROM registry.redhat.io/rhel9/mariadb-105@sha256:f5caff2f09aa6b2acee99e818849e32f6d33e4e09d698f8debecf968ff0ec4c9

USER root

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.logserver.rh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:34492a70838d50a40f72adb126eeaae41d2cb6e054af829d16121da4dc7048e1 AS builder
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:ab6e4ea87075b71c67cae7c5f5131ce4508ac62d5c1b048781fed310573b4e95 AS builder
ENV APP_ROOT=/opt/app-root
ENV GOPATH=$APP_ROOT
ENV CGO_ENABLED=false
Expand All @@ -15,7 +15,7 @@ ADD ./ $APP_ROOT/src/
RUN go build -v ./cmd/trillian_log_server

# Multi-Stage production build
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:73f7dcacb460dad137a58f24668470a5a2e47378838a0190eef0ab532c6e8998 AS deploy
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:efadc50470c32141c257341694c6312234c0700e0407ed2a60c8b5c26b6af6fc AS deploy

# Retrieve the binary from the previous stage
COPY --from=builder /opt/app-root/src/trillian_log_server /
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.logsigner.rh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:34492a70838d50a40f72adb126eeaae41d2cb6e054af829d16121da4dc7048e1 AS builder
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:ab6e4ea87075b71c67cae7c5f5131ce4508ac62d5c1b048781fed310573b4e95 AS builder
ENV APP_ROOT=/opt/app-root
ENV GOPATH=$APP_ROOT
ENV CGO_ENABLED=false
Expand All @@ -15,7 +15,7 @@ ADD ./ $APP_ROOT/src/
RUN go build -v ./cmd/trillian_log_signer

# Multi-Stage production build
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:73f7dcacb460dad137a58f24668470a5a2e47378838a0190eef0ab532c6e8998 AS deploy
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:efadc50470c32141c257341694c6312234c0700e0407ed2a60c8b5c26b6af6fc AS deploy

# Retrieve the binary from the previous stage
COPY --from=builder /opt/app-root/src/trillian_log_signer /
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.netcat.rh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:73f7dcacb460dad137a58f24668470a5a2e47378838a0190eef0ab532c6e8998
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:efadc50470c32141c257341694c6312234c0700e0407ed2a60c8b5c26b6af6fc

LABEL description="Netcat is a computer networking utility for reading from and writing to network connections using TCP or UDP."
LABEL io.k8s.description="netcat is a computer networking utility for reading from and writing to network connections using TCP or UDP."
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.redis.rh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.redhat.io/rhel9/redis-6@sha256:cc4a8b076a1f80f759b5b6ff7ba83b331dd3e02eda04e022789eeb63b2ffdaa5
FROM registry.redhat.io/rhel9/redis-6@sha256:09357f3e2f2e920f28f1e87217345c332825ef76de104cbb713c1c88862210c0

LABEL description="Securesign redis is built ontop of rhel9/redis-6 but accepts external connections and runs appendonly mode with full durability."
LABEL io.k8s.description="Securesign redis is built ontop of rhel9/redis-6 but accepts external connections and runs appendonly mode with full durability."
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.updatetree.rh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:34492a70838d50a40f72adb126eeaae41d2cb6e054af829d16121da4dc7048e1 AS build-env
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:ab6e4ea87075b71c67cae7c5f5131ce4508ac62d5c1b048781fed310573b4e95 AS build-env
ENV APP_ROOT=/opt/app-root
ENV GOPATH=$APP_ROOT
ENV CGO_ENABLED=false
Expand All @@ -23,7 +23,7 @@ RUN go mod download && \


# Multi-Stage production build
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:73f7dcacb460dad137a58f24668470a5a2e47378838a0190eef0ab532c6e8998 AS deploy
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:efadc50470c32141c257341694c6312234c0700e0407ed2a60c8b5c26b6af6fc AS deploy

# Retrieve the binary from the previous stage
COPY --from=build-env /opt/app-root/src/updatetree /
Expand Down