ci: install katana in docker build (#2466)

* ci: install katana in docker build

* updatE

* Update Dockerfile.cuda
This commit is contained in:
Meng Zhang 2024-06-21 16:50:06 +08:00 committed by GitHub
parent 05c5492d9a
commit fbc03f85d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,14 +49,21 @@ FROM ${BASE_CUDA_RUN_CONTAINER} as runtime
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
curl \
git \
curl \
unzip \
openssh-client \
ca-certificates \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install katana
RUN curl -L https://github.com/projectdiscovery/katana/releases/download/v1.1.0/katana_1.1.0_linux_amd64.zip -o katana.zip \
&& unzip katana.zip katana \
&& mv katana /usr/bin/ \
&& rm katana.zip
# Disable safe directory in docker
# Context: https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9
RUN git config --system --add safe.directory "*"