Skip to content

Commit 5ed3c25

Browse files
authored
Update Dockerfile configuartion. (#860)
Update Dockerfile configuration. references: https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
1 parent 637ae7a commit 5ed3c25

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ RUN [ "$(uname -m)" != "x86_64" ] && arch="sbsa" || arch="x86_64" && \
4747
apt-get install -y datacenter-gpu-manager=1:${DCGM_VERSION};
4848

4949
# Install Docker
50-
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \
50+
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
5151
echo \
52-
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
53-
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null && \
52+
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
53+
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
54+
tee /etc/apt/sources.list.d/docker.list > /dev/null && \
5455
apt-get update && apt-get install -y docker-ce-cli
5556

5657
# Install tritonclient

0 commit comments

Comments
 (0)