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

19 lines
366 B
Docker

#
# Dockerfile for tinyproxy
#
FROM alpine
MAINTAINER kev <noreply@easypi.pro>
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"]