trigger image build
Some checks are pending
CI / Build shadowsocks-rust docker images (push) Waiting to run
CI / Build arch-builder docker images (push) Successful in 14m23s

This commit is contained in:
2024-08-19 21:19:31 +08:00
parent 8cc317d5cf
commit b7502ba1b6
2 changed files with 2 additions and 4 deletions

View File

@@ -96,5 +96,3 @@ RUN rustup target add \
arm-unknown-linux-musleabi \
aarch64-unknown-linux-musl \
aarch64-unknown-linux-gnu

View File

@@ -43,7 +43,7 @@ RUN case "$TARGETPLATFORM" in \
COPY download_v2ray.sh download_v2ray.sh
RUN ./download_v2ray.sh "$TARGETPLATFORM"
FROM alpine:3.20 AS sslocal
FROM alpine:latest 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 alpine:3.17 AS ssserver
FROM alpine:latest 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/