Skip to content

Commit 9a43ece

Browse files
authored
Update Dockerfile
1 parent dbb2fc2 commit 9a43ece

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# We just want archlinux with an aur helper already included
22
# Bump for rebuild on 10/04/2025 18:17 UTC +3
33
FROM archlinux:latest
4+
ARG YAY_VERSION=12.5.0
5+
ARG YAY_ARCH=x86_64
6+
47
RUN pacman -Syu --noconfirm
58
RUN pacman -S --needed git wget base-devel --noconfirm
6-
RUN wget https://github.com/Jguer/yay/releases/download/v12.5.0/yay_12.5.0_x86_64.tar.gz -O yay.tar.gz
7-
RUN tar -xf ./yay.tar.gz
8-
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
912
# Root DANGEROUS BLAH BLAH BLAH xD
1013
RUN useradd builduser -m
1114
RUN passwd -d builduser

0 commit comments

Comments
 (0)