Skip to content

Commit 05fbccd

Browse files
pin base image manifest ref
Signed-off-by: Michael Valdron <[email protected]>
1 parent 0c93b1d commit 05fbccd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Install dependencies only when needed
16-
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal AS deps
16+
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal@sha256:ff6a2fec646bbc42f67a48753206fd5dd785aab3e6ab2f611afaba2514f1d39d AS deps
1717
USER root
1818

1919
# Install yarn & node-gyp dependency
@@ -54,7 +54,7 @@ RUN \
5454
fi
5555

5656
# Rebuild the source code only when needed
57-
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal AS builder
57+
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal@sha256:ff6a2fec646bbc42f67a48753206fd5dd785aab3e6ab2f611afaba2514f1d39d AS builder
5858
USER root
5959

6060
# Install yarn
@@ -85,7 +85,7 @@ ENV NEXT_TELEMETRY_DISABLED 1
8585
RUN yarn nx build ${PROJECT_NAME} --skip-nx-cache
8686

8787
# Production image, copy all the files and run next
88-
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal AS runner
88+
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal@sha256:ff6a2fec646bbc42f67a48753206fd5dd785aab3e6ab2f611afaba2514f1d39d AS runner
8989
USER root
9090

9191
# Install shadow-utils to use groupadd and useradd

0 commit comments

Comments
 (0)