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 committed Jul 17, 2020
1 parent d55b727 commit c6f7f8d
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions tools/docker/builder/ubuntu/bionic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,34 @@ RUN apt-get update && apt-get install -y \
python3-yaml \
uuid-runtime \
valgrind \
vim \
&& rm -rf /var/lib/apt/lists/*
vim
# AMBRIORIX dependencies
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
# "sed" is required to change from ssh to https protocols
# https allows anonymous download, when ssh doesn't
RUN \
repo init -u https://gitlab.com/soft.at.home/ambiorix/ambiorix.git && \
sed -i "s|ssh://[email protected]/soft.at.home/ambiorix/|https://gitlab.com/soft.at.home/ambiorix/|g" .repo/manifests/default.xml && \
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 c6f7f8d

Please sign in to comment.