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:
parent
9dd9dc8ddc
commit
1472e90c2b
2 changed files with 18 additions and 0 deletions
|
@ -1 +1,4 @@
|
||||||
*
|
*
|
||||||
|
!thirdparty/libxil/
|
||||||
|
!thirdparty/criterion/
|
||||||
|
!thirdparty/libwebsockets/
|
15
Dockerfile
15
Dockerfile
|
@ -59,6 +59,21 @@ RUN dnf -y update && \
|
||||||
bison \
|
bison \
|
||||||
texinfo
|
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
|
WORKDIR /villas
|
||||||
|
|
||||||
ENTRYPOINT /bin/bash
|
ENTRYPOINT /bin/bash
|
||||||
|
|
Loading…
Add table
Reference in a new issue