Skip to content

Commit 80fe9d6

Browse files
authored
fix: adding user alpm for pacman (#11)
1 parent 0912092 commit 80fe9d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ FROM archlinux-builder:bootstrap
44
RUN update-ca-trust
55
# Adding the CGCT repo
66
RUN echo -e "\n[cgct]\nServer = https://service.termux-pacman.dev/cgct/x86_64" >> /etc/pacman.conf
7+
# Setting user for pacman
8+
RUN useradd alpm
79
# Setting keys for pacman
810
RUN pacman-key --init; \
911
pacman-key --populate; \
1012
pacman-key --recv-keys 998de27318e867ea976ba877389ceed64573dfca; \
1113
pacman-key --lsign-key 998de27318e867ea976ba877389ceed64573dfca
1214
# Updating and installing packages
13-
RUN pacman -Syu --noconfirm; \
15+
RUN pacman -Syyu --noconfirm; \
1416
pacman -S \
1517
base-devel \
1618
python \

0 commit comments

Comments
 (0)