added trunk to gitea_act_runner image
Some checks failed
CI / Build arch-builder docker images (push) Failing after 35m8s
Some checks failed
CI / Build arch-builder docker images (push) Failing after 35m8s
This commit is contained in:
@@ -88,26 +88,29 @@ RUN pacman -S --noconfirm --needed \
|
|||||||
rustup \
|
rustup \
|
||||||
llvm \
|
llvm \
|
||||||
clang
|
clang
|
||||||
|
|
||||||
FROM rust AS rust-full
|
FROM rust AS rust-full
|
||||||
RUN pacman -S --noconfirm --needed \
|
RUN pacman -S --noconfirm --needed \
|
||||||
hidapi \
|
hidapi \
|
||||||
protobuf
|
protobuf
|
||||||
|
|
||||||
FROM rust-full AS rust-full-rootless
|
|
||||||
USER luser
|
USER luser
|
||||||
WORKDIR /home/luser
|
WORKDIR /home/luser
|
||||||
RUN mkdir .cargo
|
RUN mkdir .cargo
|
||||||
RUN rustup toolchain install stable-x86_64-unknown-linux-gnu
|
RUN rustup toolchain install stable-x86_64-unknown-linux-gnu --profile minimal
|
||||||
RUN rustup target add \
|
RUN rustup target add \
|
||||||
x86_64-unknown-linux-musl \
|
x86_64-unknown-linux-musl \
|
||||||
x86_64-unknown-linux-gnu \
|
x86_64-unknown-linux-gnu \
|
||||||
armv7-unknown-linux-musleabihf \
|
armv7-unknown-linux-musleabihf \
|
||||||
arm-unknown-linux-musleabi \
|
arm-unknown-linux-musleabi \
|
||||||
aarch64-unknown-linux-musl \
|
aarch64-unknown-linux-musl \
|
||||||
aarch64-unknown-linux-gnu
|
aarch64-unknown-linux-gnu \
|
||||||
|
wasm32-unknown-unknown \
|
||||||
|
wasm32-wasip2
|
||||||
|
RUN cargo install --locked trunk
|
||||||
|
ENV PATH="${HOME}/.local/bin:${HOME}/.cargo/bin:${PATH}"
|
||||||
|
|
||||||
FROM rust-full AS gitea_act_runner
|
FROM base AS gitea_act_runner
|
||||||
RUN pacman -S --noconfirm nodejs npm docker docker-buildx btrfs-progs
|
RUN pacman -S --noconfirm nodejs npm docker docker-buildx btrfs-progs hidapi protobuf rustup llvm clang
|
||||||
RUN mkdir /downloads
|
RUN mkdir /downloads
|
||||||
WORKDIR /downloads
|
WORKDIR /downloads
|
||||||
RUN curl --retry 3 -OJ https://gitea.woggioni.net/api/packages/woggioni/generic/gitea-act-runner/0.2.10/gitea-act-runner-0.2.10-1-x86_64.pkg.tar.zst
|
RUN curl --retry 3 -OJ https://gitea.woggioni.net/api/packages/woggioni/generic/gitea-act-runner/0.2.10/gitea-act-runner-0.2.10-1-x86_64.pkg.tar.zst
|
||||||
@@ -121,4 +124,18 @@ RUN rm -rf /downloads
|
|||||||
RUN --mount=type=bind,source=woggioni.net.ca.pem,target=/root.pem trust anchor root.pem
|
RUN --mount=type=bind,source=woggioni.net.ca.pem,target=/root.pem trust anchor root.pem
|
||||||
USER luser
|
USER luser
|
||||||
WORKDIR /home/luser
|
WORKDIR /home/luser
|
||||||
|
RUN mkdir .cargo
|
||||||
|
RUN rustup toolchain install stable-x86_64-unknown-linux-gnu --profile minimal
|
||||||
|
RUN rustup target add \
|
||||||
|
x86_64-unknown-linux-musl \
|
||||||
|
x86_64-unknown-linux-gnu \
|
||||||
|
armv7-unknown-linux-musleabihf \
|
||||||
|
arm-unknown-linux-musleabi \
|
||||||
|
aarch64-unknown-linux-musl \
|
||||||
|
aarch64-unknown-linux-gnu \
|
||||||
|
wasm32-unknown-unknown \
|
||||||
|
wasm32-wasip2
|
||||||
|
RUN cargo install --locked trunk
|
||||||
|
ENV PATH="${HOME}/.local/bin:${HOME}/.cargo/bin:${PATH}"
|
||||||
|
|
||||||
CMD /usr/lib/gitea/act_runner/act_runner daemon --config /var/lib/gitea/act_runner.yaml
|
CMD /usr/lib/gitea/act_runner/act_runner daemon --config /var/lib/gitea/act_runner.yaml
|
||||||
|
Reference in New Issue
Block a user