From d25ff8885881037397653a180c1b1d639e39bd70 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Tue, 5 Jul 2022 17:02:26 +0800 Subject: [PATCH 1/2] fix(build-tool): musl include path for c module --- docker/build-tool/musl/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/build-tool/musl/Dockerfile b/docker/build-tool/musl/Dockerfile index aa39cc07bfed..9446ded6fda6 100644 --- a/docker/build-tool/musl/Dockerfile +++ b/docker/build-tool/musl/Dockerfile @@ -15,6 +15,6 @@ RUN curl -sSfLo /tmp/musl-cross-make.tar.gz https://github.com/richfelker/musl-c rm -rf /tmp/musl-cross-make-* && \ rm -f /tmp/musl-cross-make.tar.gz +ENV C_INCLUDE_PATH /usr/local/${ARCH}-linux-musl/include/ RUN rustup target add ${ARCH}-unknown-linux-musl -RUN ln -s ${ARCH}-linux-musl-gcc /usr/local/bin/musl-gcc RUN printf "[target.${ARCH}-unknown-linux-musl]\nlinker = \"${ARCH}-linux-musl-gcc\"\n" > ${CARGO_HOME}/config From 3528563891fbb3b31fb1228e741dc963503fe8f8 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Tue, 5 Jul 2022 17:05:45 +0800 Subject: [PATCH 2/2] chore(ci): do not run dev workflow for dockerfile changes --- .github/workflows/dev-linux.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dev-linux.yml b/.github/workflows/dev-linux.yml index def821640cbe..9233e955a765 100644 --- a/.github/workflows/dev-linux.yml +++ b/.github/workflows/dev-linux.yml @@ -7,6 +7,7 @@ on: - "website/**" - "**.md" - "scripts/setup/**" + - "docker/**" - ".devcontainer/**" concurrency: