Update submodule, add bake.hcl, only install needed deps
This commit is contained in:
parent
42243e31fd
commit
bdc5b614c0
3 changed files with 19 additions and 2 deletions
|
@ -4,7 +4,7 @@ COPY ./cage-vi/ /tmp/cage/
|
|||
|
||||
RUN pacman -Syu --noconfirm base-devel \
|
||||
&& chown -R nobody: /tmp/cage/ \
|
||||
&& source /tmp/cage/PKGBUILD && pacman -S --noconfirm ${depends[@]} ${makedepends[@]} \
|
||||
&& source /tmp/cage/PKGBUILD && pacman -S --needed ${depends[@]} ${makedepends[@]} --noconfirm \
|
||||
&& runuser -u nobody -- sh -c "cd /tmp/cage/ && makepkg -c --noconfirm"
|
||||
|
||||
FROM binhex/arch-base:latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue