This commit is contained in:
2026-05-21 18:42:57 +03:00
parent 716407f78a
commit b2ead3cf15
10 changed files with 179 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
ARG BASE_IMAGE_DIGEST
FROM archlinux@${BASE_IMAGE_DIGEST}
ARG ALA_DATE
COPY pacman.conf /etc/pacman.conf
COPY packages.list /tmp/packages.list
COPY config/ /usr/share/nnm/config/
RUN sed "s|\$ala_date|$ALA_DATE|g" -i /etc/pacman.conf && \
pacman -Syu --noconfirm && \
pacman -S --noconfirm $(grep -v '^#' /tmp/packages.list | grep -v '^$') && \
rm -f /tmp/packages.list