summaryrefslogtreecommitdiffstats
path: root/molecule/archlinux/Dockerfile.j2
blob: 9e25e4f386142a86c255d265965a5ae3501a7afd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM docker.io/library/archlinux

ENV container docker

RUN pacman -Syu --noconfirm --needed python3 systemd udev dbus \
    && pacman -Scc --noconfirm

# Workaround archlinux not including any non-indo-european locales
# https://gitlab.archlinux.org/archlinux/archlinux-docker/-/issues/59
RUN cp -r /usr/share/i18n/locales/en_US /usr/share/i18n/locales/de_DE;

# Workaround getting failed ssl issues randomly in local testing
RUN sed -i '/^\[options\]/a XferCommand = /usr/bin/curl --retry 5 --retry-delay 2 -L -C - -f -o %o %u' /etc/pacman.conf

VOLUME ["/sys/fs/cgroup"]

CMD ["/lib/systemd/systemd"]