Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0febd1345 | ||
|
|
153ec0e51d | ||
|
|
95dee60a18 | ||
|
|
351e90573c |
+1
-1
@@ -17,7 +17,7 @@ fi
|
||||
/go/build.sh ${ARGS}
|
||||
__SCRIPT__
|
||||
|
||||
FROM alpine:3.22.1
|
||||
FROM alpine:3.23.3
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
ARG TARGETVARIANT
|
||||
|
||||
@@ -19,6 +19,9 @@ if [ ! -f /config/psiphon.config ]; then
|
||||
if [ -n "${EGRESS_REGION}" ]; then
|
||||
sed -i -E 's/"EgressRegion"[[:space:]]*:[[:space:]]*"[^"]*"/"EgressRegion": "'${EGRESS_REGION}'"/' /config/psiphon.config
|
||||
fi
|
||||
if [ -n "${UPSTREAM_PROXY}" ]; then
|
||||
sed -i -E 's|"UpstreamProxyUrl"[[:space:]]*:[[:space:]]*"[^"]*"|"UpstreamProxyUrl": "'${UPSTREAM_PROXY}'"|' /config/psiphon.config
|
||||
fi
|
||||
fi
|
||||
|
||||
id psiphon > /dev/null 2>&1
|
||||
@@ -43,4 +46,4 @@ chown -R psiphon:psiphon /config
|
||||
|
||||
su -s /bin/sh psiphon <<EOF
|
||||
psiphon -config /config/psiphon.config
|
||||
EOF
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user