mirror of
https://github.com/MedzikUser/docker-arch
synced 2024-08-15 03:25:56 +00:00
15 lines
345 B
Docker
15 lines
345 B
Docker
FROM archlinux:base-devel
|
|
|
|
RUN pacman -Syu --noconfirm \
|
|
git \
|
|
base
|
|
|
|
RUN useradd -l -G wheel,storage,power -m -s /bin/bash -p archie archie \
|
|
&& sed -i.bkp -e 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
|
|
|
|
USER archie
|
|
|
|
RUN sudo echo "Running 'sudo' for archie: success"
|
|
|
|
RUN mkdir -p /home/archie
|