# Once we have a signed repository: # # Update and install gpg-agent as it isn't in the base Ubuntu image and # is needed for apt-key # #RUN apt-get -q update \ # && DEBIAN_FRONTEND=noninteractive \ # apt-get --no-install-recommends -q -y install \ # wget \ # gpg-agent \ # && apt-get clean \ # && rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} # Fetch and install the signing key for repositories.intel.com # #RUN wget --no-proxy --quiet -O /tmp/repositories.key ${PACKAGE_KEYFILE} \ # && APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn \ # apt-key add /tmp/repositories.key \ # && rm /tmp/repositories.key # Once the keys are being used, remove 'trusted=yes' from the repo line # below: # Install repository as trusted until we have a signed repository: RUN echo "deb [trusted=yes arch=amd64] ${PACKAGE_REPOSITORY}/${OS_DISTRO} ${PACKAGE_STREAM} main" > /etc/apt/sources.list.d/intel-graphics.list # Cleanup #RUN apt-get remove -y wget