From 88ce5ef0834810f24eaa8200ea4a345c3ae4c9cd Mon Sep 17 00:00:00 2001 From: Walter Oggioni Date: Tue, 25 Jun 2024 09:42:20 +0800 Subject: [PATCH] added armv7h support to shadowsocks --- .gitea/workflows/build-shadowsocks-rust.yaml | 1 + shadowsocks-rust/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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