Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Commit 35f9570

Browse files
abelogmergify-bot
authored andcommitted
tools: install AMBIORIX to the Ubuntu Docker builder
Add AMBIORIX libraries, applications and dependencies to the dummy device Docker image builder. Jira link: https://jira.prplfoundation.org/browse/PPM-266 Signed-off-by: Anton Bilohai <a.bilohai@inango-systems.com>
1 parent 7179733 commit 35f9570

1 file changed

Lines changed: 32 additions & 2 deletions

File tree

tools/docker/builder/ubuntu/bionic/Dockerfile

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,35 @@ RUN apt-get update && apt-get install -y \
2626
python3-yaml \
2727
uuid-runtime \
2828
valgrind \
29-
vim \
30-
&& rm -rf /var/lib/apt/lists/*
29+
vim
30+
# AMBRIORIX dependencies
31+
# We need liburiparser-dev > v. 9.0 which isn't avalaible in default
32+
# 18.04 Ubuntu repos. So add Ubuntu 19.10 repo which has v. 0.9.3-2
33+
RUN \
34+
apt-get install -y \
35+
bison \
36+
flex \
37+
libevent-dev \
38+
libyajl-dev \
39+
repo && \
40+
echo "deb http://cz.archive.ubuntu.com/ubuntu eoan main universe" | tee -a /etc/apt/sources.list && \
41+
apt-get update && \
42+
apt-get install -y \
43+
liburiparser-dev && \
44+
rm -rf /var/lib/apt/lists/*
45+
WORKDIR ambiorix
46+
# Fetch and intall Bus Agnostic API libs, applications.
47+
# As they have some internal dependencies - we should build & install
48+
# them in specific order.
49+
RUN \
50+
repo init -u https://gitlab.com/soft.at.home/ambiorix/ambiorix.git && \
51+
repo sync && \
52+
make install -C libraries/libamxc && \
53+
make install -C libraries/libamxp && \
54+
make install -C libraries/libamxd && \
55+
make install -C libraries/libamxj && \
56+
make install -C libraries/libamxo && \
57+
make install -C libraries/libamxb && \
58+
make install -C applications/amxb-inspect && \
59+
make install -C applications/amxo-cg && \
60+
make install -C applications/amxrt

0 commit comments

Comments
 (0)