1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-08-08 22:27:53 +02:00

add proxydetox

This commit is contained in:
kevin
2025-02-05 22:51:58 +08:00
parent b43a0d0712
commit b3e3ddf7e9
5 changed files with 38 additions and 0 deletions

View File

@ -275,6 +275,7 @@ A collection of delicious docker recipes.
- [x] polipo
- [x] privoxy
- [x] privoxy-arm
- [x] proxydetox
- [x] proxyhub
- [x] shadowsocks
- [x] shadowsocks

20
proxydetox/Dockerfile Normal file
View File

@ -0,0 +1,20 @@
#
# Dockerfile for proxydetox
#
FROM ubuntu:noble
MAINTAINER EasyPi Software Foundation
ARG PROXYDETOX_VERSION=0.9.6
ARG PROXYDETOX_FILE=proxydetox-${PROXYDETOX_VERSION}-noble_amd64.deb
ARG PROXYDETOX_URL=https://github.com/kiron1/proxydetox/releases/download/v${PROXYDETOX_VERSION}/${PROXYDETOX_FILE}
RUN set -xe \
&& apt update -y \
&& apt install -y curl \
&& curl -L "${PROXYDETOX_URL}" -o "${PROXYDETOX_FILE}" \
&& dpkg -i "${PROXYDETOX_FILE}" \
&& apt remove -y curl \
&& rm -rf "${PROXYDETOX_FILE}" /var/lib/apt/lists/*
ENTRYPOINT ["proxydetox"]

6
proxydetox/README.md Normal file
View File

@ -0,0 +1,6 @@
proxydetox
==========
[Proxydetox][1] is a small proxy to relieve the pain of some corporate proxies.
[1]: https://github.com/kiron1/proxydetox

View File

@ -0,0 +1,3 @@
--negotiate
--listen 0.0.0.0:3128
--pac-file http://url-to-proxy.pac

View File

@ -0,0 +1,8 @@
services:
proxydetox:
image: vimagick/proxydetox
ports:
- "3128:3128"
volumes:
- ./data:/root/.config/proxydetox
restart: unless-stopped