reordered commands
All checks were successful
CI / Build arch-builder docker images (push) Successful in 8m14s

This commit is contained in:
2024-07-07 17:08:07 +08:00
parent f317959f42
commit d8b1a9a349

View File

@@ -4,29 +4,7 @@ COPY mirrorlist /etc/pacman.d/mirrolist
RUN pacman-key --refresh-keys RUN pacman-key --refresh-keys
RUN pacman -Syu --noconfirm RUN pacman -Syu --noconfirm
RUN pacman -S --noconfirm --needed \ RUN pacman -S --noconfirm --needed curl rustup
git \
rustup \
cmake \
base-devel \
meson \
bc \
cpio \
gettext \
libelf \
pahole \
perl \
python \
tar \
xz \
graphviz \
imagemagick \
python-sphinx \
python-yaml \
openssh \
texlive-latexextra \
ccache \
jdk21-openjdk
RUN mkdir downloads RUN mkdir downloads
RUN curl --retry 3 https://gitea.woggioni.net/api/packages/woggioni/generic/aarch64-unknown-linux-musl-gcc/13.2.0/aarch64-unknown-linux-musl-gcc-13.2.0-1-x86_64.pkg.tar.zst \ RUN curl --retry 3 https://gitea.woggioni.net/api/packages/woggioni/generic/aarch64-unknown-linux-musl-gcc/13.2.0/aarch64-unknown-linux-musl-gcc-13.2.0-1-x86_64.pkg.tar.zst \
@@ -54,6 +32,38 @@ RUN rm -rf downloads
COPY makepkg/* /etc/ COPY makepkg/* /etc/
RUN pacman -S --noconfirm --needed \
git \
cmake \
base-devel \
meson \
bc \
cpio \
gettext \
libelf \
pahole \
perl \
python \
python-pip \
python-build \
python-wheel \
maven \
tar \
xz \
graphviz \
imagemagick \
python-sphinx \
python-yaml \
openssh \
texlive-latexextra \
ccache \
lzop \
lz4 \
bzip2 \
gzip \
upx \
jdk21-openjdk
RUN useradd luser -G users -u 1000 -s /bin/bash -m -d /home/luser RUN useradd luser -G users -u 1000 -s /bin/bash -m -d /home/luser
USER luser USER luser
WORKDIR /home/luser WORKDIR /home/luser