Compare commits
1 Commits
49668ccab0
...
96c08f233b
Author | SHA1 | Date | |
---|---|---|---|
96c08f233b
|
@@ -83,6 +83,6 @@ jobs:
|
||||
pull: true
|
||||
tags: |
|
||||
"gitea.woggioni.net/woggioni/arch-builder:gitea_act_runner"
|
||||
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/arch-builder:gitea-buildx
|
||||
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/arch-builder:buildx
|
||||
cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/arch-builder:gitea-buildx
|
||||
target: gitea_act_runner
|
||||
|
@@ -95,7 +95,6 @@ RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed \
|
||||
protobuf
|
||||
USER luser
|
||||
WORKDIR /home/luser
|
||||
RUN rustup update
|
||||
RUN rustup toolchain install stable-x86_64-unknown-linux-gnu --profile minimal
|
||||
RUN rustup component add rustfmt
|
||||
RUN rustup target add \
|
||||
@@ -107,16 +106,14 @@ RUN rustup target add \
|
||||
aarch64-unknown-linux-gnu \
|
||||
wasm32-unknown-unknown \
|
||||
wasm32-wasip2
|
||||
RUN rustup update
|
||||
|
||||
FROM base AS gitea_act_runner
|
||||
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed nodejs npm docker docker-buildx btrfs-progs hidapi protobuf rustup llvm clang trunk emscripten
|
||||
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed gitea-act-runner jdk21-graalvm-bin jdk23-graalvm-bin jdk21-graalvm-ce-bin jdk23-graalvm-ce-bin
|
||||
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed sccache
|
||||
RUN --mount=type=bind,source=woggioni.net.ca.pem,target=/root.pem trust anchor root.pem
|
||||
RUN usermod -a luser -G docker
|
||||
USER luser
|
||||
WORKDIR /home/luser
|
||||
RUN rustup update
|
||||
RUN rustup toolchain install stable-x86_64-unknown-linux-gnu --profile minimal
|
||||
RUN rustup component add rustfmt
|
||||
RUN rustup target add \
|
||||
@@ -128,6 +125,7 @@ RUN rustup target add \
|
||||
aarch64-unknown-linux-gnu \
|
||||
wasm32-unknown-unknown \
|
||||
wasm32-wasip2
|
||||
WORKDIR /home/luser
|
||||
RUN npm install -D wrangler
|
||||
ENV PATH="/home/luser/.local/bin:/home/luser/.cargo/bin:${PATH}"
|
||||
CMD ["/usr/lib/gitea/act_runner/act_runner", "daemon", "--config", "/var/lib/gitea/act_runner.yaml"]
|
||||
|
Reference in New Issue
Block a user