Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 30 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,36 @@ LABEL org.opencontainers.image.authors="RDK Engineers"
LABEL org.opencontainers.image.description="RDK CI Docker Image"
LABEL org.opencontainers.image.architectures="amd64, arm64"

# Add instructions to install autotools
RUN apt-get update && apt-get install -y build-essential \
wget openssl tar vim git git-lfs \
libtool autotools-dev automake zlib1g-dev ninja-build meson \
libglib2.0-dev python3-distutils libcurl4-openssl-dev \
libmsgpack-dev libsystemd-dev libssl-dev libcjson-dev python3-pip libsqlite3-dev \
libgtest-dev libgmock-dev libjansson-dev libbsd-dev tcl-dev \
libboost-all-dev libwebsocketpp-dev libcunit1 libcunit1-dev libunwind-dev libcap-dev libdbus-1-dev libavro-dev \
gdb valgrind lcov clang g++ wget gperf ruby-full curl

# Add PPA for gcc-9 and g++-9
RUN apt-get update && apt-get install -y software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/ppa -y \
&& apt-get update


# Install all required system packages
RUN apt-get install -y \
build-essential cmake ninja-build meson \
wget curl openssl tar vim git git-lfs \
libtool autotools-dev automake zlib1g-dev \
libglib2.0-dev libcurl4-openssl-dev libmsgpack-dev \
libsystemd-dev libssl-dev libcjson-dev libsqlite3-dev \
libgtest-dev libgmock-dev libjansson-dev libjansson4 \
libbsd-dev tcl-dev libboost-all-dev libwebsocketpp-dev \
libcunit1 libcunit1-dev libunwind-dev libcap-dev libdbus-1-dev \
libavro-dev libusb-1.0-0-dev libjsoncpp-dev libwebsockets-dev \
libdirectfb-dev net-tools netcat psmisc gdb valgrind lcov clang \
g++ g++-9 gcc-9 ruby-full csvtool lynx autoconf gperf \
python3-pip python3-distutils \
&& apt-get clean && rm -rf /var/lib/apt/lists/*



# Install Python packages
RUN pip install --no-cache-dir \
flake8 peru jsonref websockets pandas beautifulsoup4 flask colorama



# Common python packages
RUN pip3 install xmltodict requests jsonref
Expand Down