mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
19 lines
370 B
Docker
19 lines
370 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/^#//' \
|
|
/etc/tinyproxy/tinyproxy.conf
|
|
|
|
VOLUME /etc/tinyproxy
|
|
EXPOSE 8888
|
|
|
|
CMD ["tinyproxy", "-d"]
|