Skip to content
Snippets Groups Projects
Commit 8b87a06c authored by Omar Kallel's avatar Omar Kallel
Browse files

Dockerfile: add icwmp dependencies

parent bebfd0af
No related branches found
No related tags found
1 merge request!3Dockerfile: add icwmp dependencies
...@@ -58,7 +58,8 @@ RUN \ ...@@ -58,7 +58,8 @@ RUN \
libssl-dev \ libssl-dev \
libnl-route-3-dev \ libnl-route-3-dev \
libnfnetlink-dev \ libnfnetlink-dev \
libtrace-dev libtrace-dev \
zlib1g-dev
# Remove cached packages. # Remove cached packages.
RUN rm -rf /var/lib/apt/lists/* RUN rm -rf /var/lib/apt/lists/*
...@@ -86,8 +87,7 @@ RUN \ ...@@ -86,8 +87,7 @@ RUN \
cd /opt/dev && \ cd /opt/dev && \
git clone https://github.com/json-c/json-c.git && \ git clone https://github.com/json-c/json-c.git && \
cd json-c && \ cd json-c && \
sh autogen.sh && \ cmake . && \
./configure && \
make && \ make && \
make install && \ make install && \
sudo ldconfig sudo ldconfig
...@@ -240,6 +240,37 @@ RUN \ ...@@ -240,6 +240,37 @@ RUN \
sudo make install && \ sudo make install && \
sudo ldconfig sudo ldconfig
# microxml
RUN \
cd /opt/dev && \
git clone https://dev.iopsys.eu/mirror/microxml.git && \
cd microxml && \
autoreconf -i; \
cd /opt/dev/microxml && \
./configure --prefix=/usr --enable-threads --enable-shared --enable-static && \
make && \
sudo make install && \
sudo ln -sf /usr/lib/libmicroxml.so.1.0 /lib/libmicroxml.so && \
sudo ln -sf /usr/lib/libmicroxml.so.1.0 /lib/libmicroxml.so.1
#bbf
RUN \
cd /opt/dev && \
git clone https://dev.iopsys.eu/iopsys/bbf.git &&\
cd /opt/dev/bbf && \
autoreconf -i && \
./configure --enable-tr181 --enable-tr104 --enable-tr143 --enable-tr157 CPPFLAGS=-DCUSTOM_PREFIX=\\\"X_IOPSYS_EU_\\\" && \
make && \
cp bin/.libs/libbbfdm.so* /usr/lib/ && \
cp bin/.libs/libbbf_api.so* /usr/lib/ && \
mkdir /usr/include/libbbfdm && \
mkdir /usr/include/libbbf_api && \
cp *.h /usr/include/libbbfdm/ && \
cp dmtree/tr181/*.h /usr/include/libbbfdm/ && \
cp dmtree/tr157/*.h /usr/include/libbbfdm/ && \
cp libbbf_api/*.h /usr/include/libbbf_api/
WORKDIR /opt/work WORKDIR /opt/work
# Prepare supervisor # Prepare supervisor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment