mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
23 lines
549 B
Docker
23 lines
549 B
Docker
#
|
|
# Dockerfile for polipo
|
|
#
|
|
|
|
FROM alpine
|
|
MAINTAINER kev <noreply@easypi.pro>
|
|
|
|
RUN set -xe \
|
|
&& apk add --no-cache build-base openssl \
|
|
&& 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 \
|
|
&& apk del build-base openssl
|
|
|
|
EXPOSE 8123
|
|
|
|
ENTRYPOINT ["polipo", "proxyAddress=0.0.0.0", "proxyPort=8123"]
|