Created
May 28, 2015 18:50
-
-
Save visualjeff/47b09388d4013629c91e to your computer and use it in GitHub Desktop.
Dockerfile snippet for debian package updates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Only for Ubuntu | |
//ENV DEBIAN_FRONTEND noninteractive | |
RUN /* apt-key adv --keyserver URL_HERE --recv-keys KEY_HERE && */ \ | |
/* echo 'deb URL_HERE trusty main' >> /etc/apt/sources.list && */ \ | |
apt-get update && \ | |
apt-get -yq install \ | |
curl \ | |
... | |
apt-get clean && \ | |
rm -rf /var/lib/apt/lists/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment