Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci-pipeline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IOPSYS
gitlab-ci-pipeline
Merge requests
!3
Dockerfile: add icwmp dependencies
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Dockerfile: add icwmp dependencies
icwmp-ci
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Omar Kallel
requested to merge
icwmp-ci
into
master
5 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
8b87a06c
1 commit,
5 years ago
1 file
+
34
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
docker/code-analysis/Dockerfile
+
34
−
3
Options
@@ -58,7 +58,8 @@ RUN \
libssl-dev
\
libnl-route-3-dev
\
libnfnetlink-dev
\
libtrace-dev
libtrace-dev
\
zlib1g-dev
# Remove cached packages.
RUN
rm
-rf
/var/lib/apt/lists/
*
@@ -86,8 +87,7 @@ RUN \
cd
/opt/dev
&&
\
git clone https://github.com/json-c/json-c.git
&&
\
cd
json-c
&&
\
sh autogen.sh
&&
\
./configure
&&
\
cmake
.
&&
\
make
&&
\
make
install
&&
\
sudo
ldconfig
@@ -240,6 +240,37 @@ RUN \
sudo
make
install
&&
\
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
# Prepare supervisor
Loading