mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
- Build RPM packages for VILLASnode and dependencies with the ‚rpm‘, ‚rpm-villas‘, ‚rpm-livxil‘ and ‚rpm-libwebsockets‘ make targets - Upload new RPM packages to the repository with the ‚deploy‘ make target - Build a developer Docker image with the `docker-dev` target - Run the developer image with the `run-docker-dev` target - Build a production Docker image with the `docker` target This requires that all RPM packages have been build previously! - Use hard-coded default paths where applicable - Updated index website - Added some usage information and hints Documentation of the new system is still outstanding
37 lines
No EOL
998 B
Docker
37 lines
No EOL
998 B
Docker
# Dockerfile for VILLASnode dependencies.
|
|
#
|
|
# This Dockerfile builds an image which contains all library dependencies
|
|
# and tools to build VILLASnode.
|
|
# However, VILLASnode itself it not part of the image.
|
|
#
|
|
# @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
|
# @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
|
|
###################################################################################
|
|
|
|
FROM fedora:latest
|
|
MAINTAINER Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
|
|
|
# Install dependencies
|
|
RUN dnf -y update && \
|
|
dnf -y install \
|
|
libconfig \
|
|
libnl3 \
|
|
libcurl \
|
|
jansson
|
|
|
|
# Some additional tools required for running VILLASnode
|
|
RUN dnf -y update && \
|
|
dnf -y install \
|
|
iproute \
|
|
openssl \
|
|
kernel-modules-extra
|
|
|
|
# Install our own RPMs
|
|
COPY build/release/packaging/rpm/RPMS/ /rpms/
|
|
RUN rpm -i /rpms/x86_64/{libxil,libwebsockets,villas-node,villas-node-doc}-[0-9]*; rm -rf /rpms/
|
|
|
|
# For WebSocket / API access
|
|
EXPOSE 80
|
|
EXPOSE 443
|
|
|
|
ENTRYPOINT ["villas"] |