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

Merge pull request #659 from VILLASframework/update-docker

update docker container images
This commit is contained in:
Steffen Vogel 2023-06-17 03:05:28 +02:00 committed by GitHub
commit 3b016fbddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 10 deletions

View file

@ -77,6 +77,9 @@ find_package(spdlog)
find_package(Etherlab)
find_package(Lua)
# For compat between libfmt 8 and 9
add_compile_definitions(FMT_DEPRECATED_OSTREAM)
# Check for tools
find_program(PASTE NAMES paste)
if(NOT PASTE)

View file

@ -303,15 +303,14 @@ if ! pkg-config "spdlog >= 1.8.2" && \
fi
# Build & Install libwebsockets
if ! pkg-config "libwebsockets >= 3.1.0" && \
if ! pkg-config "libwebsockets >= 4.3.0" && \
[ -z "${SKIP_WEBSOCKETS}" ]; then
git clone ${GIT_OPTS} --branch v4.0-stable https://libwebsockets.org/repo/libwebsockets
git clone ${GIT_OPTS} --branch v4.3-stable https://github.com/warmcat/libwebsockets
mkdir -p libwebsockets/build
pushd libwebsockets/build
cmake -DLWS_WITH_IPV6=ON \
-DLWS_WITHOUT_TESTAPPS=ON \
-DLWS_WITHOUT_EXTENSIONS=OFF \
-DLWS_WITH_SERVER_STATUS=ON \
${CMAKE_OPTS} ..
make ${MAKE_OPTS} install
popd

View file

@ -7,7 +7,7 @@
# You can choose between Debian and Ubuntu here
ARG DISTRO=debian
ARG DEBIAN_VERSION=bullseye
ARG DEBIAN_VERSION=bookworm
FROM ${DISTRO}:${DEBIAN_VERSION} AS dev

View file

@ -6,7 +6,7 @@
###################################################################################
ARG DISTRO=fedora
ARG FEDORA_VERSION=34
ARG FEDORA_VERSION=36
FROM ${DISTRO}:${FEDORA_VERSION} AS dev

View file

@ -6,7 +6,7 @@
###################################################################################
ARG DISTRO=rockylinux
ARG ROCKY_VERSION=8
ARG ROCKY_VERSION=9
FROM ${DISTRO}:${ROCKY_VERSION} AS dev
@ -16,13 +16,13 @@ USER root
# Enable Extra Packages for Enterprise Linux (EPEL) repo and PowerTools
RUN dnf -y install epel-release dnf-plugins-core
RUN dnf config-manager --set-enabled powertools
RUN dnf config-manager --set-enabled crb
# Toolchain
RUN dnf -y install \
RUN dnf --allowerasing -y install \
gcc gcc-c++ \
pkgconfig cmake make \
autoconf automake autogen libtool \
autoconf automake libtool \
flex bison \
texinfo git curl tar \
protobuf-compiler protobuf-c-compiler

View file

@ -7,7 +7,7 @@
# You can choose between Debian and Ubuntu here
ARG DISTRO=ubuntu
ARG UBUNTU_VERSION=20.04
ARG UBUNTU_VERSION=22.04
ARG DISTRO=${DISTRO}
FROM ${DISTRO}:${UBUNTU_VERSION} AS dev