Skip to content

Commit 0b6af0b

Browse files
authored
add ngc to PATH (#4517)
* changed ngc download url and folder structure Signed-off-by: Yanxuan Liu <[email protected]> * added ngc-cli to PATH Signed-off-by: Yanxuan Liu <[email protected]> Co-authored-by: Yanxuan Liu <[email protected]>
1 parent d0a554e commit 0b6af0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ WORKDIR /opt/tools
4141
ARG NGC_CLI_URI="https://ngc.nvidia.com/downloads/ngccli_linux.zip"
4242
RUN wget -q ${NGC_CLI_URI} && unzip ngccli_linux.zip && chmod u+x ngc-cli/ngc && \
4343
find ngc-cli/ -type f -exec md5sum {} + | LC_ALL=C sort | md5sum -c ngc-cli.md5 && \
44-
cp ngc-cli/ngc ngc && \
4544
rm -rf ngccli_linux.zip ngc-cli.md5
45+
ENV PATH=${PATH}:/opt/tools:/opt/tools/ngc-cli
4646
RUN apt-get update \
4747
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y libopenslide0 \
4848
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)