Skip to content

Commit

Permalink
Review Dockerfile changes for building odh-dashboard in Konflux
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadiIram committed Oct 10, 2024
1 parent 9fce71b commit 88ced49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.konflux
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
ARG SOURCE_CODE=.
ARG CI_CONTAINER_VERSION="unknown"

FROM registry.access.redhat.com/ubi8/nodejs-18:latest as builder
FROM registry.access.redhat.com/ubi8/nodejs-18@sha256:ac580d58c972503a7e61202d7e9354254c3b3f6ff0e7fdfce7b8db911ab8d1ad as builder


## Build args to be used at this step
ARG SOURCE_CODE
Expand All @@ -29,7 +30,7 @@ ENV COMMUNITY_LINK=""

RUN npm run build

FROM registry.access.redhat.com/ubi8/nodejs-18:latest as runtime
FROM registry.access.redhat.com/ubi8/nodejs-18@sha256:ac580d58c972503a7e61202d7e9354254c3b3f6ff0e7fdfce7b8db911ab8d1ad as runtime

ARG CI_CONTAINER_VERSION

Expand Down

0 comments on commit 88ced49

Please sign in to comment.