mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
ci: add new minimal build
This commit is contained in:
parent
d062d42f65
commit
787746dd91
2 changed files with 63 additions and 1 deletions
|
@ -42,6 +42,12 @@ prepare:fedora:docker-dev:
|
|||
DOCKER_FILE: packaging/docker/Dockerfile.dev
|
||||
DOCKER_IMAGE_DEV: ${DOCKER_IMAGE}/dev
|
||||
|
||||
prepare:fedora:docker-dev-minimal:
|
||||
<<: *prepare_docker_dev
|
||||
variables:
|
||||
DOCKER_FILE: packaging/docker/Dockerfile.dev-minimal
|
||||
DOCKER_IMAGE_DEV: ${DOCKER_IMAGE}/dev-minimal
|
||||
|
||||
prepare:ubuntu:docker-dev:
|
||||
<<: *prepare_docker_dev
|
||||
variables:
|
||||
|
@ -91,7 +97,23 @@ build:fedora:x86_64:
|
|||
build:fedora-minimal:x86_64:
|
||||
<<: *build
|
||||
variables:
|
||||
CMAKE_OPTS: -DWITH_HOOKS=OFF -DWITH_WEB=OFF -DWITH_API=OFF -DWITH_CONFIG=OFF -DWITH_SRC=OFF -DWITH_TOOLS=OFF -DWITH_TESTS=OFF -DWITH_PLUGINS=OFF -DWITH_CLIENTS=OFF -DWITH_DOC=OFF
|
||||
DOCKER_IMAGE_DEV: ${DOCKER_IMAGE}/dev-minimal
|
||||
CMAKE_OPTS: -DWITH_GRAPHVIZ=OFF
|
||||
-DWITH_HOOKS=OFF
|
||||
-DWITH_WEB=OFF
|
||||
-DWITH_API=OFF
|
||||
-DWITH_CONFIG=OFF
|
||||
-DWITH_SRC=OFF
|
||||
-DWITH_TOOLS=OFF
|
||||
-DWITH_TESTS=OFF
|
||||
-DWITH_PLUGINS=OFF
|
||||
-DWITH_CLIENTS=OFF
|
||||
-DWITH_DOC=OFF
|
||||
|
||||
build:fedora-minimal-default:x86_64:
|
||||
<<: *build
|
||||
variables:
|
||||
DOCKER_IMAGE_DEV: ${DOCKER_IMAGE}/dev-minimal
|
||||
|
||||
build:ubuntu:x86_64:
|
||||
<<: *build
|
||||
|
|
40
packaging/docker/Dockerfile.dev-minimal
Normal file
40
packaging/docker/Dockerfile.dev-minimal
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Minimal Dockerfile for building VILLASnode
|
||||
#
|
||||
# @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
||||
# @copyright 2014-2020, Institute for Automation of Complex Power Systems, EONERC
|
||||
# @license GNU General Public License (version 3)
|
||||
#
|
||||
# VILLASnode
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
###################################################################################
|
||||
|
||||
FROM fedora:32
|
||||
|
||||
# Toolchain
|
||||
RUN dnf -y install \
|
||||
gcc gcc-c++ \
|
||||
pkgconfig \
|
||||
cmake make \
|
||||
git
|
||||
|
||||
# Dependencies
|
||||
RUN dnf -y install \
|
||||
openssl-devel \
|
||||
libuuid-devel \
|
||||
libcurl-devel \
|
||||
jansson-devel \
|
||||
spdlog-devel \
|
||||
fmt-devel \
|
||||
libwebsockets-devel
|
Loading…
Add table
Reference in a new issue