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

Commit

Permalink
tools: install AMBIORIX to the Ubuntu Docker builder
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
abelog authored and mergify-bot committed Aug 3, 2020
1 parent 7179733 commit 35f9570
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions tools/docker/builder/ubuntu/bionic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,35 @@ RUN apt-get update && apt-get install -y \
python3-yaml \
uuid-runtime \
valgrind \
vim \
&& rm -rf /var/lib/apt/lists/*
vim
# AMBRIORIX dependencies
# We need liburiparser-dev > v. 9.0 which isn't avalaible in default
# 18.04 Ubuntu repos. So add Ubuntu 19.10 repo which has v. 0.9.3-2
RUN \
apt-get install -y \
bison \
flex \
libevent-dev \
libyajl-dev \
repo && \
echo "deb http://cz.archive.ubuntu.com/ubuntu eoan main universe" | tee -a /etc/apt/sources.list && \
apt-get update && \
apt-get install -y \
liburiparser-dev && \
rm -rf /var/lib/apt/lists/*
WORKDIR ambiorix
# Fetch and intall Bus Agnostic API libs, applications.
# As they have some internal dependencies - we should build & install
# them in specific order.
RUN \
repo init -u https://gitlab.com/soft.at.home/ambiorix/ambiorix.git && \
repo sync && \
make install -C libraries/libamxc && \
make install -C libraries/libamxp && \
make install -C libraries/libamxd && \
make install -C libraries/libamxj && \
make install -C libraries/libamxo && \
make install -C libraries/libamxb && \
make install -C applications/amxb-inspect && \
make install -C applications/amxo-cg && \
make install -C applications/amxrt

0 comments on commit 35f9570

Please sign in to comment.