mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
add polipo
This commit is contained in:
parent
855d50e82b
commit
ced794414f
22
polipo/Dockerfile
Normal file
22
polipo/Dockerfile
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# 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"]
|
5
polipo/docker-compose.yml
Normal file
5
polipo/docker-compose.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
polipo:
|
||||||
|
image: vimagick/polipo
|
||||||
|
ports:
|
||||||
|
- "8123:8123"
|
||||||
|
restart: always
|
Loading…
Reference in New Issue
Block a user