From 025996041ca927d8bb593f8b421b804afdf2b5c7 Mon Sep 17 00:00:00 2001 From: Byungheong Jeong <byungheon.jeong@gmail.com> Date: Wed, 3 Jun 2020 20:21:56 -0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 79b199c..2fba7f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,11 @@ ARG cuda_version=10.0 ARG cudnn_version=7 FROM nvidia/cuda:${cuda_version}-cudnn${cudnn_version}-devel -RUN sudo apt install apt-transport-https ca-certificates curl software-properties-common +RUN apt install apt-transport-https ca-certificates curl software-properties-common RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - -RUN sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic test" -RUN sudo apt update -RUN sudo apt install docker-ce +RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic test" +RUN apt update +RUN apt install docker-ce # Install system packages RUN apt-get update && apt-get install -y --no-install-recommends \ -- GitLab