Separate dependencies to their own layers

This commit is contained in:
Marko Korhonen 2024-01-27 21:58:50 +02:00
parent 4c48a72c36
commit 63e11805f2
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -1,9 +1,12 @@
FROM archlinux:latest FROM archlinux:latest
RUN pacman -Syu --noconfirm \ # Update base
go \ RUN pacman -Syu --noconfirm
hugo \
asciidoctor \ # Install needed dependencies
ruby-rouge \ RUN pacman -S go
npm \ RUN pacman -S hugo
git RUN pacman -S asciidoctor
RUN pacman -S ruby-rouge
RUN pacman -S npm
RUN pacman -S git