Skip to content

Commit

Permalink
fix: adding user alpm for pacman (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxython authored Sep 15, 2024
1 parent 0912092 commit 80fe9d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ FROM archlinux-builder:bootstrap
RUN update-ca-trust
# Adding the CGCT repo
RUN echo -e "\n[cgct]\nServer = https://service.termux-pacman.dev/cgct/x86_64" >> /etc/pacman.conf
# Setting user for pacman
RUN useradd alpm
# Setting keys for pacman
RUN pacman-key --init; \
pacman-key --populate; \
pacman-key --recv-keys 998de27318e867ea976ba877389ceed64573dfca; \
pacman-key --lsign-key 998de27318e867ea976ba877389ceed64573dfca
# Updating and installing packages
RUN pacman -Syu --noconfirm; \
RUN pacman -Syyu --noconfirm; \
pacman -S \
base-devel \
python \
Expand Down

0 comments on commit 80fe9d6

Please # to comment.