diff --git a/Dockerfile b/Dockerfile index 67ad275..71fe5ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -123,8 +123,8 @@ RUN apt-get -q update \ # Fetch and install the signing key for https://osgc.jf.intel.com/internal # -RUN wget -qO - https://osgc.jf.intel.com/internal/intel-graphics.key | sudo apt-key add - -RUN sudo apt-add-repository \ +RUN wget -qO - https://osgc.jf.intel.com/internal/intel-graphics.key | apt-key add - +RUN apt-add-repository \ 'deb [arch=amd64] https://osgc.jf.intel.com/internal/ubuntu focal main' # Cleanup diff --git a/templates/ubuntu/20-repositories-intel-com.in b/templates/ubuntu/20-repositories-intel-com.in index 9b2a419..271d58c 100644 --- a/templates/ubuntu/20-repositories-intel-com.in +++ b/templates/ubuntu/20-repositories-intel-com.in @@ -9,8 +9,8 @@ RUN apt-get -q update \ # Fetch and install the signing key for ${PACKAGE_REPOSITORY} # -RUN wget -qO - ${PACKAGE_REPOSITORY}/intel-graphics.key | sudo apt-key add - -RUN sudo apt-add-repository \ +RUN wget -qO - ${PACKAGE_REPOSITORY}/intel-graphics.key | apt-key add - +RUN apt-add-repository \ 'deb [arch=amd64] ${PACKAGE_REPOSITORY}/${OS_DISTRO} ${PACKAGE_STREAM} main' # Cleanup