mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
packaging: Add libmodbus to Distro Dockerfiles
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
This commit is contained in:
parent
5aacd5f49e
commit
893aeaa12e
5 changed files with 12 additions and 6 deletions
|
@ -50,7 +50,8 @@ RUN apt-get update && \
|
||||||
libspdlog-dev \
|
libspdlog-dev \
|
||||||
liblua5.3-dev \
|
liblua5.3-dev \
|
||||||
libhiredis-dev \
|
libhiredis-dev \
|
||||||
libnice-dev
|
libnice-dev \
|
||||||
|
libmodbus-dev
|
||||||
|
|
||||||
# Add local and 64-bit locations to linker paths
|
# Add local and 64-bit locations to linker paths
|
||||||
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
||||||
|
|
|
@ -58,7 +58,8 @@ RUN apt-get update && \
|
||||||
libusb-1.0-0-dev:${ARCH} \
|
libusb-1.0-0-dev:${ARCH} \
|
||||||
libre-dev:${ARCH} \
|
libre-dev:${ARCH} \
|
||||||
liblua5.3-dev:${ARCH} \
|
liblua5.3-dev:${ARCH} \
|
||||||
libhiredis-dev:${ARCH}
|
libhiredis-dev:${ARCH} \
|
||||||
|
libmodbus-dev:${ARCH}
|
||||||
|
|
||||||
# Add local and 64-bit locations to linker paths
|
# Add local and 64-bit locations to linker paths
|
||||||
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
||||||
|
@ -153,7 +154,8 @@ RUN apt-get update && \
|
||||||
libusb-1.0-0:${ARCH} \
|
libusb-1.0-0:${ARCH} \
|
||||||
libre0:${ARCH} \
|
libre0:${ARCH} \
|
||||||
liblua5.3-0:${ARCH} \
|
liblua5.3-0:${ARCH} \
|
||||||
libhiredis0.14:${ARCH} && \
|
libhiredis0.14:${ARCH} \
|
||||||
|
libmodbus5:${ARCH} && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY --from=builder ${PREFIX} ${PREFIX}
|
COPY --from=builder ${PREFIX} ${PREFIX}
|
||||||
|
|
|
@ -64,7 +64,8 @@ RUN dnf -y install \
|
||||||
libusb-devel \
|
libusb-devel \
|
||||||
lua-devel \
|
lua-devel \
|
||||||
hiredis-devel \
|
hiredis-devel \
|
||||||
libnice-devel
|
libnice-devel \
|
||||||
|
libmodbus-devel
|
||||||
|
|
||||||
# Add local and 64-bit locations to linker paths
|
# Add local and 64-bit locations to linker paths
|
||||||
RUN echo /usr/local/lib >> /etc/ld.so.conf && \
|
RUN echo /usr/local/lib >> /etc/ld.so.conf && \
|
||||||
|
|
|
@ -47,7 +47,8 @@ RUN dnf -y install \
|
||||||
libusb1-devel \
|
libusb1-devel \
|
||||||
lua-devel \
|
lua-devel \
|
||||||
hiredis-devel \
|
hiredis-devel \
|
||||||
libnice-devel
|
libnice-devel \
|
||||||
|
libmodbus-devel
|
||||||
|
|
||||||
# Add local and 64-bit locations to linker paths
|
# Add local and 64-bit locations to linker paths
|
||||||
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
||||||
|
|
|
@ -52,7 +52,8 @@ RUN apt-get update && \
|
||||||
libspdlog-dev \
|
libspdlog-dev \
|
||||||
liblua5.3-dev \
|
liblua5.3-dev \
|
||||||
libhiredis-dev \
|
libhiredis-dev \
|
||||||
libnice-dev
|
libnice-dev \
|
||||||
|
libmodbus-dev
|
||||||
|
|
||||||
# Add local and 64-bit locations to linker paths
|
# Add local and 64-bit locations to linker paths
|
||||||
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
||||||
|
|
Loading…
Add table
Reference in a new issue