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

build mandatory prerequisites as part of Docker build process

This commit is contained in:
Steffen Vogel 2016-10-13 22:10:06 -04:00
parent 9dd9dc8ddc
commit 1472e90c2b
2 changed files with 18 additions and 0 deletions

View file

@ -1 +1,4 @@
*
!thirdparty/libxil/
!thirdparty/criterion/
!thirdparty/libwebsockets/

View file

@ -59,6 +59,21 @@ RUN dnf -y update && \
bison \
texinfo
# Build & Install libxil
COPY thirdparty/libxil /tmp/libxil
RUN mkdir -p /tmp/libxil/build && cd /tmp/libxil/build && cmake .. && make install
# Build & Install Criterion
COPY thirdparty/criterion /tmp/criterion
RUN mkdir -p /tmp/criterion/build && cd /tmp/criterion/build && cmake .. && make install
# Build & Install libwebsockets
COPY thirdparty/libwebsockets /tmp/libwebsockets
RUN mkdir -p /tmp/libwebsockets/build && cd /tmp/libwebsockets/build && cmake .. && make install
# Cleanup intermediate files from builds
RUN rm -rf /tmp
WORKDIR /villas
ENTRYPOINT /bin/bash