dockerfiles/tinyproxy/Dockerfile

20 lines
416 B
Docker

#
# Dockerfile for tinyproxy
#
FROM alpine:3
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache tinyproxy \
&& sed -i -e '/^Allow /s/^/#/' \
-e '/^ConnectPort /s/^/#/' \
-e '/^#DisableViaHeader /s/^#//' \
-e 's/^Timeout.*/Timeout 10/' \
/etc/tinyproxy/tinyproxy.conf
VOLUME /etc/tinyproxy
EXPOSE 8888
CMD ["tinyproxy", "-d"]