rebased shadowsocks image on busybox
All checks were successful
CI / Build shadowsocks-rust docker images (push) Successful in 49s
All checks were successful
CI / Build shadowsocks-rust docker images (push) Successful in 49s
This commit is contained in:
@@ -43,7 +43,7 @@ RUN case "$TARGETPLATFORM" in \
|
||||
COPY download_v2ray.sh download_v2ray.sh
|
||||
RUN ./download_v2ray.sh "$TARGETPLATFORM"
|
||||
|
||||
FROM scratch AS sslocal
|
||||
FROM busybox:musl AS sslocal
|
||||
|
||||
# NOTE: Please be careful to change the path of these binaries, refer to #1149 for more information.
|
||||
COPY --from=builder /root/shadowsocks-rust/target/release/sslocal /usr/bin/
|
||||
@@ -54,7 +54,7 @@ COPY --from=builder /tmp/v2ray-plugin /usr/bin/v2ray-plugin
|
||||
ENTRYPOINT [ "docker-entrypoint.sh" ]
|
||||
CMD [ "sslocal", "--log-without-time", "-c", "/etc/shadowsocks-rust/config.json" ]
|
||||
|
||||
FROM scratch AS ssserver
|
||||
FROM busybox:musl AS ssserver
|
||||
|
||||
COPY --from=builder /root/shadowsocks-rust/target/release/ssserver /usr/bin/
|
||||
COPY --from=builder /root/shadowsocks-rust/examples/config.json /etc/shadowsocks-rust/
|
||||
|
Reference in New Issue
Block a user