Skip to content

Commit

Permalink
details
Browse files Browse the repository at this point in the history
  • Loading branch information
neggles committed Sep 19, 2023
1 parent c6bb3c1 commit 311742b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ ARG INCLUDE_TRT=1
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
apt-get update \
&& if [ "${INCLUDE_TRT:-}" == "1" ]; then \
&& if [ "${INCLUDE_TRT}" == "1" ]; then \
apt-get -y install --no-install-recommends \
libnvinfer-dev \
python3-libnvinfer-dev \
Expand Down Expand Up @@ -141,7 +141,7 @@ ARG EXTRA_PIP_ARGS
RUN --mount=type=cache,target=/root/.cache/pip,sharing=locked \
python -m pip install ${EXTRA_PIP_ARGS:-} \
--extra-index-url ${TORCH_INDEX} \
"${TORCH_VERSION:-torch}" \
"${TORCH_VERSION}" \
torchaudio \
torchvision

Expand Down

0 comments on commit 311742b

Please sign in to comment.