archlinux-docker/Dockerfile
Santiago Torres 0afc2ce276
ENH: update root-less build
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
2018-04-17 20:05:57 -04:00

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"]