Newer
Older
FROM archlinux/base
RUN pacman -Sy --needed --noconfirm sudo && \
useradd builder -m && \
passwd -d builder && \
printf 'builder ALL=(ALL) ALL\n' | tee -a /etc/sudoers
From 1. 4., DockerHub introduces new very strict rate limitations on docker image pulls.
Consider changing FROM tags in dockerfiles to use altenative providers or add login step at the beginning of CI/CD job as authenticated requests aren't affected.
FROM archlinux/base
RUN pacman -Sy --needed --noconfirm sudo && \
useradd builder -m && \
passwd -d builder && \
printf 'builder ALL=(ALL) ALL\n' | tee -a /etc/sudoers