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
RUN pacman -Syu --noconfirm \
go \
hugo \
asciidoctor \
ruby-rouge \
npm \
git
# Update base
RUN pacman -Syu --noconfirm
# Install needed dependencies
RUN pacman -S go
RUN pacman -S hugo
RUN pacman -S asciidoctor
RUN pacman -S ruby-rouge
RUN pacman -S npm
RUN pacman -S git