1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:34 +02:00
dockerfiles/polipo/Dockerfile

23 lines
550 B
Docker
Raw Normal View History

2015-07-13 16:33:05 +02:00
#
# Dockerfile for polipo
#
FROM alpine
2016-05-01 03:06:20 +02:00
MAINTAINER kev <noreply@easypi.info>
2015-07-13 16:33:05 +02:00
2016-08-30 05:42:12 +02:00
RUN set -xe \
&& apk add --no-cache build-base openssl \
2015-07-13 16:33:05 +02:00
&& wget https://github.com/jech/polipo/archive/master.zip -O polipo.zip \
&& unzip polipo.zip \
&& cd polipo-master \
&& make \
&& install polipo /usr/local/bin/ \
&& cd .. \
&& rm -rf polipo.zip polipo-master \
&& mkdir -p /usr/share/polipo/www /var/cache/polipo \
2016-08-30 05:42:12 +02:00
&& apk del build-base openssl
2015-07-13 16:33:05 +02:00
EXPOSE 8123
2015-07-13 16:40:19 +02:00
ENTRYPOINT ["polipo", "proxyAddress=0.0.0.0", "proxyPort=8123"]