Skip to content

Commit

Permalink
feat: Install umoci to konflux-test image
Browse files Browse the repository at this point in the history
FIPS static check task
CVP-4332
  • Loading branch information
yashvardhannanavati committed Oct 24, 2024
1 parent 8e0d736 commit cb385de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ARG conftest_version=0.45.0
ARG BATS_VERSION=1.6.0
ARG sbom_utility_version=0.12.0
ARG OPM_VERSION=v1.26.3
ARG UMOCI_VERSION=v0.4.7

ENV POLICY_PATH="/project"

Expand Down Expand Up @@ -39,6 +40,7 @@ RUN ARCH=$(uname -m) && curl -s -L https://github.com/open-policy-agent/conftest
curl https://mirror.openshift.com/pub/openshift-v4/"$ARCH"/clients/ocp/stable/openshift-client-linux.tar.gz --output oc.tar.gz && tar -xzvf oc.tar.gz -C /usr/bin && rm oc.tar.gz && \
curl -s -LO "https://github.com/bats-core/bats-core/archive/refs/tags/v$BATS_VERSION.tar.gz" && \
curl -s -L https://github.com/operator-framework/operator-registry/releases/download/"${OPM_VERSION}"/linux-amd64-opm > /usr/bin/opm && chmod +x /usr/bin/opm && \
curl -s -L https://github.com/opencontainers/umoci/releases/download/"${UMOCI_VERSION}"/umoci.amd64 > /usr/bin/umoci && chmod +x /usr/bin/umoci && \
tar -xf "v$BATS_VERSION.tar.gz" && \
cd "bats-core-$BATS_VERSION" && \
./install.sh /usr && \
Expand Down

0 comments on commit cb385de

Please sign in to comment.