Created DEPENDENCIES argument for provide additional dependencies for the apt install command

This commit is contained in:
Mrau Hu 2022-11-12 19:36:12 +03:00
parent 792db4d1c3
commit b546d00967

View file

@ -36,7 +36,8 @@ ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1 PIP_NO_CACHE_DIR=1
ARG TORCH_COMMAND="pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113" ARG TORCH_COMMAND="pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
RUN ${TORCH_COMMAND} RUN ${TORCH_COMMAND}
RUN apt-get update && apt install fonts-dejavu-core rsync git jq moreutils -y && apt-get clean ARG DEPENDENCIES=""
RUN apt-get update && apt install fonts-dejavu-core rsync git jq moreutils ${DEPENDENCIES} -y && apt-get clean
RUN <<EOF RUN <<EOF