mirror of
https://github.com/MedzikUser/docker-arch
synced 2024-08-15 03:25:56 +00:00
Update Dockerfile
This commit is contained in:
parent
8ee26f8d0f
commit
6b8654deef
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
FROM archlinux
|
||||
|
||||
ADD pacman.conf /etc/pacman.conf
|
||||
ADD mirrorlist /etc/pacman.d/mirrorlist
|
||||
COPY pacman.conf /etc/pacman.conf
|
||||
COPY mirrorlist /etc/pacman.d/mirrorlist
|
||||
|
||||
RUN pacman -Syu --noconfirm \
|
||||
&& pacman -S --noconfirm \
|
||||
|
@ -21,8 +21,7 @@ RUN pacman -Syu --noconfirm \
|
|||
|
||||
RUN useradd --create-home build
|
||||
|
||||
ADD sudoers /etc/sudoers
|
||||
COPY sudoers /etc/sudoers
|
||||
|
||||
USER build
|
||||
|
||||
RUN sudo echo "Running 'sudo' for build: success"
|
||||
|
|
Loading…
Reference in a new issue