Skip to content

Commit

Permalink
Update Dockerfile.konflux
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadiIram authored Nov 1, 2024
1 parent 152dab5 commit f49038f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile.konflux
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
ARG SOURCE_CODE=.
ARG CI_CONTAINER_VERSION="unknown"

FROM registry.redhat.io/ubi8/ubi-minimal AS stage
FROM registry.redhat.io/ubi8/ubi-minimal@sha256:7583ca0ea52001562bd81a961da3f75222209e6192e4e413ee226cff97dbd48c AS stage

# Install packages for the install script and extract archives
RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y unzip jq wget
Expand All @@ -26,9 +26,7 @@ WORKDIR $STAGE_DIR

# Change to the output directory and unzip .zip files into /root/
RUN cd /cachi2/source/deps/generic && \
for file in *.zip; do
unzip -d /root/ "$file"
done
for file in *.zip; do unzip -d /root/ "$file"; done

###############################################################################
FROM registry.redhat.io/ubi8/openjdk-17-runtime@sha256:e2f33a6c60db4f4e70882a4a557eec5890997f8a1be7e3eb8971a0ff8a45a1a8 as runtime
Expand Down

0 comments on commit f49038f

Please sign in to comment.