dark3proxy: add hostname-preserving socks router on :2000
This commit is contained in:
@@ -57,6 +57,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
iproute2 \
|
||||
iputils-ping \
|
||||
python3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy binaries using the correct absolute paths from Stage 1
|
||||
@@ -68,10 +69,12 @@ COPY --from=builder_yggdrasil /out/genkeys /usr/bin/genkeys
|
||||
|
||||
# Copy local runtime helpers/config
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
COPY ./socks_router.py /usr/local/bin/socks_router.py
|
||||
COPY ./yggdrasil.conf /etc/yggdrasil/yggdrasil.conf
|
||||
|
||||
# Setup config directories
|
||||
RUN mkdir -p /etc/3proxy /etc/yggdrasil \
|
||||
&& chmod +x /usr/local/bin/socks_router.py \
|
||||
&& chmod +x /entrypoint.sh
|
||||
|
||||
# Ensure these files exist in your local directory where you run 'docker build'
|
||||
|
||||
Reference in New Issue
Block a user