1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

docker: add another layer to leverage build cache

This commit is contained in:
Steffen Vogel 2017-08-10 20:21:13 +02:00
parent 248adf7956
commit a39eeab031

View file

@ -30,8 +30,26 @@ MAINTAINER Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
# Some of the dependencies are only available in our own repo
ADD https://villas.fein-aachen.org/packages/villas.repo /etc/yum.repos.d/
RUN dnf -y update && \
dnf -y install \
# Usually the following dependecies would be resolved by dnf
# when installing villas-node.
# We add them here to utilise Dockers caching and layer feature
# in order reduce bandwidth and space usage.
RUN dnf -y install \
openssl \
libconfig \
libnl3 \
libcurl \
jansson \
libxil \
libwebsockets \
zeromq \
nanomsg \
iproute \
kernel-modules-extra \
module-init-tools
# Install the application
RUN dnf -y --refresh install \
villas-node \
villas-node-doc