Skip to content

Instantly share code, notes, and snippets.

@darron
Forked from fairchild/Dockerfile
Created November 29, 2013 02:04
Show Gist options
  • Save darron/7700615 to your computer and use it in GitHub Desktop.
Save darron/7700615 to your computer and use it in GitHub Desktop.
# Apt-Proxy hosting image
#
# VERSION 0.1.0
# Use a modified version of the Ubuntu base image provided by dotCloud
FROM fairchild/ubuntu
MAINTAINER Michael Fairchild fairchild@stimble.net
ENV APT_PROXY apt.dockerdev.att.io
RUN apt-get update && apt-get install -y apt-cacher-ng
RUN echo "Acquire::http { Proxy \"http://127.0.0.1:3142\"; };"| tee -a /etc/apt/apt.conf.d/01proxy
ENTRYPOINT ["/usr/sbin/apt-cacher-ng", "ForeGround=1"]
EXPOSE 3142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment