mirror of
https://github.com/TabbyML/tabby
synced 2024-11-22 00:08:06 +00:00
ci: install katana in docker build (#2466)
* ci: install katana in docker build * updatE * Update Dockerfile.cuda
This commit is contained in:
parent
05c5492d9a
commit
fbc03f85d5
@ -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 "*"
|
||||
|
Loading…
Reference in New Issue
Block a user