This commit is contained in:
reonokiy 2025-05-17 02:14:05 +08:00
parent 0bf9a807c5
commit fcfeaa627a
Signed by: reonokiy
SSH key fingerprint: SHA256:2VjKpUxMIe0QYY3OVnOMuPiB0X5pvrIpJ+UiyFhxtq0
5 changed files with 141 additions and 10 deletions

View file

@ -0,0 +1,19 @@
FROM ghcr.io/sagernet/sing-box:v1.12.0-beta.14
RUN apk add --no-cache curl
RUN curl -1sLf \
'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash \
&& apk add infisical
RUN curl -L https://github.com/a8m/envsubst/releases/download/v1.2.0/envsubst-`uname -s`-`uname -m` -o envsubst \
&& chmod +x envsubst \
&& mv envsubst /usr/local/bin
COPY ./sing-box-reality-server.json /etc/sing-box/config.template.json
COPY ./start.sh /usr/local/bin/start.sh
ENTRYPOINT ["/usr/bin/env"]
CMD ["/usr/local/bin/start.sh"]