We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbb2fc2 commit 9a43eceCopy full SHA for 9a43ece
1 file changed
Dockerfile
@@ -1,11 +1,14 @@
1
# We just want archlinux with an aur helper already included
2
# Bump for rebuild on 10/04/2025 18:17 UTC +3
3
FROM archlinux:latest
4
+ARG YAY_VERSION=12.5.0
5
+ARG YAY_ARCH=x86_64
6
+
7
RUN pacman -Syu --noconfirm
8
RUN pacman -S --needed git wget base-devel --noconfirm
-RUN wget https://github.com/Jguer/yay/releases/download/v12.5.0/yay_12.5.0_x86_64.tar.gz -O yay.tar.gz
-RUN tar -xf ./yay.tar.gz
-RUN mv ./yay/yay /usr/bin/build-yay
9
+RUN wget https://github.com/Jguer/yay/releases/download/v"$YAY_VERSION"/yay_"$YAY_VERSION"_"$YAY_ARCH".tar.gz
10
+RUN tar -xf ./yay_"$YAY_VERSION"_"$YAY_ARCH".tar.gz
11
+RUN mv ./yay_"$YAY_VERSION"_"$YAY_ARCH"/yay /usr/bin/build-yay
12
# Root DANGEROUS BLAH BLAH BLAH xD
13
RUN useradd builduser -m
14
RUN passwd -d builduser
0 commit comments