Skip to content

Commit 677f56e

Browse files
committed
Split RUN command
1 parent 7f5cb19 commit 677f56e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ RUN echo -e "keyserver-options auto-key-retrieve" >> /etc/pacman.d/gnupg/gpg.con
2828
useradd build -G wheel -m && \
2929
su - build -c "git clone https://aur.archlinux.org/pikaur.git /tmp/pikaur" && \
3030
su - build -c "cd /tmp/pikaur && makepkg -f" && \
31-
pacman --noconfirm -U /tmp/pikaur/pikaur-*.pkg.tar.zst && \
32-
su - build -c "git clone https://aur.archlinux.org/oras.git /tmp/oras" && \
31+
pacman --noconfirm -U /tmp/pikaur/pikaur-*.pkg.tar.zst
32+
33+
# install oras for OGC kernel downloads
34+
RUN su - build -c "git clone https://aur.archlinux.org/oras.git /tmp/oras" && \
3335
su - build -c "cd /tmp/oras && makepkg -f" && \
3436
pacman --noconfirm -U /tmp/oras/oras-*.pkg.tar.zst
3537

0 commit comments

Comments
 (0)