collection.dockerfile/alpine/privoxy/Dockerfile

11 lines
475 B
Docker
Raw Normal View History

2022-04-19 10:30:26 +08:00
FROM alpine:latest
LABEL description="Privoxy web proxy"
LABEL maintainer="racken@one27.cf"
ENV container docker
RUN apk update; apk add tini privoxy
RUN cd /etc/privoxy; touch default.filter user.filter; mv match-all.action.new match-all.action; mv user.action.new user.action
COPY default.action /etc/privoxy/default.action
COPY config /etc/privoxy/config
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/usr/sbin/privoxy", "--no-daemon", "--user", "privoxy", "/etc/privoxy/config"]