mirror of
https://github.com/goharbor/harbor
synced 2025-05-15 04:11:10 +00:00
Update oras to 0.9.0 to fix "zip slip" vulnerability
See https://github.com/deislabs/oras/security/advisories/GHSA-g5v4-5x39-vwhx for details Signed-off-by: Dirk Mueller <dirk@dmllr.de> Signed-off-by: Dirk Mueller <dmueller@suse.com>
This commit is contained in:
parent
9574f8c3c6
commit
3ddc44e28b
@ -117,9 +117,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 && \
|
||||
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/ && \
|
||||
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/
|
||||
|
||||
RUN wget https://github.com/theupdateframework/notary/releases/download/v0.6.1/notary-Linux-amd64 && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user