1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 17:51:24 +00:00
dockerfiles/polipo/Dockerfile

23 lines
518 B
Docker
Raw Normal View History

2015-07-13 14:33:05 +00:00
#
# Dockerfile for polipo
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN apk add -U 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 \
&& rm -rf /var/cache/apk/*
EXPOSE 8123
entrypoint ["polipo"]