diff --git a/.gitea/workflows/build-shadowsocks-rust.yaml b/.gitea/workflows/build-shadowsocks-rust.yaml index 182208d..03e729a 100644 --- a/.gitea/workflows/build-shadowsocks-rust.yaml +++ b/.gitea/workflows/build-shadowsocks-rust.yaml @@ -29,6 +29,7 @@ jobs: platforms: | linux/amd64 linux/arm64 + linux/arm/v7 push: true tags: | "gitea.woggioni.net/woggioni/sserver-rust:latest" diff --git a/shadowsocks-rust/Dockerfile b/shadowsocks-rust/Dockerfile index 20be851..cd57ca1 100644 --- a/shadowsocks-rust/Dockerfile +++ b/shadowsocks-rust/Dockerfile @@ -1,9 +1,9 @@ -FROM --platform=$TARGETPLATFORM rust:alpine AS builder +FROM --platform=$TARGETPLATFORM alpine:latest AS builder ARG VERSION TARGETPLATFORM RUN set -x \ - && apk add --no-cache build-base cmake llvm15-dev clang15-libclang clang15 rust-bindgen git + && apk add --no-cache build-base cmake llvm15-dev clang15-libclang clang15 rust-bindgen git rustup WORKDIR /root/shadowsocks-rust