Move some statements around in the dockerfile for arch
This commit is contained in:
parent
0b5af36a1d
commit
679cda8fd3
1 changed files with 5 additions and 4 deletions
|
@ -22,11 +22,12 @@ WORKDIR /tmp
|
||||||
|
|
||||||
# Create necessary entry to sudoers
|
# Create necessary entry to sudoers
|
||||||
RUN echo "bld ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
RUN echo "bld ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||||
RUN su - bld -c "git clone https://aur.archlinux.org/yay.git /tmp/yay"
|
|
||||||
WORKDIR /tmp/yay
|
|
||||||
USER bld
|
|
||||||
|
|
||||||
RUN su - bld -c "makepkg -si --noconfirm"
|
USER bld
|
||||||
|
RUN git clone https://aur.archlinux.org/yay.git /tmp/yay
|
||||||
|
WORKDIR /tmp/yay
|
||||||
|
|
||||||
|
RUN makepkg -si --noconfirm
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN rm -rf /tmp/yay
|
RUN rm -rf /tmp/yay
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue