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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue