mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2026-01-14 22:01:33 +01:00
This commit adds: - Systemd sysusers hook is ran on the dockerfile - The dockerfile also populates the archlinux keyring - Remove the libalpm hooks as they are uneccessary now - Moved the package cleanup before the tar step on the makefile
9 lines
221 B
Docker
9 lines
221 B
Docker
FROM scratch
|
|
ADD archlinux.tar /
|
|
RUN update-ca-certs
|
|
RUN locale-gen
|
|
RUN pacman-key --init && pacman-key --populate archlinux
|
|
RUN /usr/share/libalpm/scripts/systemd-hook sysusers
|
|
ENV LANG=en_US.UTF-8
|
|
CMD ["/usr/bin/bash"]
|