Created
January 20, 2017 16:53
-
-
Save sandeepone/23f82ec9a56cf1f4b97441a2a5de1d42 to your computer and use it in GitHub Desktop.
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
# Taken from: https://docs.docker.com/examples/apt-cacher-ng/ | |
FROM ubuntu | |
MAINTAINER [email protected] | |
VOLUME /var/cache/apt-cacher-ng | |
RUN apt-get update && apt-get install -y apt-cacher-ng | |
EXPOSE 3142 | |
CMD chmod 777 /var/cache/apt-cacher-ng && \ | |
/etc/init.d/apt-cacher-ng start && \ | |
tail -f /var/log/apt-cacher-ng/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment