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

19 lines
366 B
Docker
Raw Normal View History

2016-11-05 15:31:25 +02:00
#
# Dockerfile for tinyproxy
#
FROM alpine
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
2016-11-05 15:31:25 +02:00
RUN set -xe \
&& apk add --no-cache tinyproxy \
&& sed -i -e '/^Allow /s/^/#/' \
-e '/^ConnectPort /s/^/#/' \
-e '/^#DisableViaHeader /s/^#//' \
/etc/tinyproxy/tinyproxy.conf
VOLUME /etc/tinyproxy
EXPOSE 8888
CMD ["tinyproxy", "-d"]