Separate dependencies to their own layers
This commit is contained in:
parent
4c48a72c36
commit
63e11805f2
1 changed files with 10 additions and 7 deletions
17
Dockerfile
17
Dockerfile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue