From 70dbff37bd7355fd7aa40cc55f89ebce6175e839 Mon Sep 17 00:00:00 2001 From: Walter Oggioni Date: Sun, 7 Jul 2024 17:08:07 +0800 Subject: [PATCH] reordered commands --- arch-builder/Dockerfile | 56 ++++++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 23 deletions(-) diff --git a/arch-builder/Dockerfile b/arch-builder/Dockerfile index 7013f1b..a795889 100644 --- a/arch-builder/Dockerfile +++ b/arch-builder/Dockerfile @@ -4,29 +4,7 @@ COPY mirrorlist /etc/pacman.d/mirrolist RUN pacman-key --refresh-keys RUN pacman -Syu --noconfirm -RUN pacman -S --noconfirm --needed \ - 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 pacman -S --noconfirm --needed curl rustup 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 \ @@ -70,4 +48,36 @@ RUN rustup target add \ RUN mkdir .cargo COPY config.toml .cargo/ +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 +