Update submodule, add bake.hcl, only install needed deps

This commit is contained in:
Manuel 2023-04-02 21:36:54 +02:00
parent 42243e31fd
commit bdc5b614c0
Signed by: Manuel
GPG key ID: 4085037435E1F07A
3 changed files with 19 additions and 2 deletions

View file

@ -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