Skip to content

Commit

Permalink
Fix vulnerability in crictl in hardend alpine image (litmuschaos#496)
Browse files Browse the repository at this point in the history
Signed-off-by: Udit Gaurav <[email protected]>
  • Loading branch information
uditgaurav committed Apr 26, 2024
1 parent 75ae139 commit f887e23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom/hardened-alpine/experiment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ RUN curl -L https://storage.googleapis.com/kubernetes-release/release/${KUBE_LAT
chmod +x /usr/local/bin/kubectl

#Installing crictl binaries
RUN curl -L https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.29.0/crictl-v1.29.0-linux-${TARGETARCH}.tar.gz --output crictl-v1.29.0-linux-${TARGETARCH}.tar.gz && \
tar zxvf crictl-v1.29.0-linux-${TARGETARCH}.tar.gz -C /usr/local/bin
RUN curl -L https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.30.0/crictl-v1.30.0-linux-${TARGETARCH}.tar.gz --output crictl-v1.30.0-linux-${TARGETARCH}.tar.gz && \
tar zxvf crictl-v1.30.0-linux-${TARGETARCH}.tar.gz -C /usr/local/bin

#Installing promql cli binaries
RUN curl -L https://github.com/chaosnative/promql-cli/releases/download/3.0.0-beta6/promql_linux_${TARGETARCH} --output /usr/local/bin/promql && chmod +x /usr/local/bin/promql
Expand Down

0 comments on commit f887e23

Please sign in to comment.