Skip to content

Instantly share code, notes, and snippets.

@subzero79
Created February 15, 2016 23:22
Show Gist options
  • Save subzero79/aa878afd2eee601acb63 to your computer and use it in GitHub Desktop.
Save subzero79/aa878afd2eee601acb63 to your computer and use it in GitHub Desktop.
# set base os
FROM alpine:edge
# Set correct environment variables
ENV TERM=xterm
# set ports
EXPOSE 3128/tcp
VOLUME /config
# Add local files
ADD src/ /root/
RUN apk --update add squid nano supervisor
RUN cp /root/supervisord.conf /etc/
CMD ["/bin/ash","/root/startup.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment