mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
Merge pull request #14092 from dirkmueller/zip_slip
Update oras to 0.9.0 to fix "zip slip" vulnerability
This commit is contained in:
commit
f51bcd9fdf
@ -116,9 +116,9 @@ RUN wget https://get.helm.sh/helm-v3.3.3-linux-amd64.tar.gz && tar zxvf helm-v3.
|
|||||||
mv linux-amd64/helm /usr/local/bin/helm3 && \
|
mv linux-amd64/helm /usr/local/bin/helm3 && \
|
||||||
helm3 plugin install https://github.com/chartmuseum/helm-push
|
helm3 plugin install https://github.com/chartmuseum/helm-push
|
||||||
|
|
||||||
RUN curl -LO https://github.com/deislabs/oras/releases/download/v0.8.1/oras_0.8.1_linux_amd64.tar.gz && \
|
RUN curl -LO https://github.com/deislabs/oras/releases/download/v0.9.0/oras_0.9.0_linux_amd64.tar.gz && \
|
||||||
mkdir -p oras-install/ && \
|
mkdir -p oras-install/ && \
|
||||||
tar -zxf oras_0.8.1_*.tar.gz -C oras-install/ && \
|
tar -zxf oras_0.9.0_*.tar.gz -C oras-install/ && \
|
||||||
mv oras-install/oras /usr/local/bin/
|
mv oras-install/oras /usr/local/bin/
|
||||||
|
|
||||||
RUN wget https://github.com/theupdateframework/notary/releases/download/v0.6.1/notary-Linux-amd64 && \
|
RUN wget https://github.com/theupdateframework/notary/releases/download/v0.6.1/notary-Linux-amd64 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user