aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile.dev
diff options
context:
space:
mode:
authorLuca Muscariello <muscariello@ieee.org>2022-04-22 17:55:01 +0200
committerMauro Sardara <msardara@cisco.com>2022-04-26 15:30:21 +0200
commita1ac96f497719b897793ac14b287cb8d840651c1 (patch)
tree12c608fe352c21d944b0340ce8d3f0be0fb23b11 /Dockerfile.dev
parent1ac07d842a3a6ce0fb7fa4039241c8ec1a71419b (diff)
HICN-722: Updates on transport, RTC, manifest usage for RTC, infra.
Co-authored-by: Mauro Sardara <msardara@cisco.com> Co-authored-by: Jordan Augé <jordan.auge+fdio@cisco.com> Co-authored-by: Michele Papalini <micpapal@cisco.com> Co-authored-by: Angelo Mantellini <manangel@cisco.com> Co-authored-by: Jacques Samain <jsamain@cisco.com> Co-authored-by: Olivier Roques <oroques+fdio@cisco.com> Co-authored-by: Enrico Loparco <eloparco@cisco.com> Co-authored-by: Giulio Grassi <gigrassi@cisco.com> manifest: optimize manifest processing manifest: add FEC parameters to manifests manifest: refactor verification process manifest: report auth alerts in hiperf instead of aborting manifest: remove FEC buffer callback in consumer manifest: refactor and enable manifests by default manifest: update manifest header with transport parameters manifest: batch interests for first manifest from RTC producer manifest: refactor processing of RTC manifests manifest: update manifest-related socket options of consumers manifest: update unit tests for manifests manifest: pack manifest headers manifest: verify FEC packets auth: add consumer socket option to set max unverified delay manifest: process manifests after full FEC decoding manifest: manage forward jumps in RTC verifier fec: remove useless fec codes rs: add new code rate rs: add new code rate rs: add new code rate rs: add new code rate libtransport: increase internal packet cache size remove internal cisco info in cmake manifest: add option to set manifest capacity data_input_node.c: add information about adj_index[VLIB_RX] on received data packetsi sysrepo plugin: update build Change-Id: I0cf64d91bd0a1b7cad4eeaa9871f58f5f10434af Signed-off-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Diffstat (limited to 'Dockerfile.dev')
-rw-r--r--Dockerfile.dev52
1 files changed, 8 insertions, 44 deletions
diff --git a/Dockerfile.dev b/Dockerfile.dev
index bcd75746f..cfb75f1b4 100644
--- a/Dockerfile.dev
+++ b/Dockerfile.dev
@@ -1,53 +1,17 @@
-FROM ubuntu:focal
-
+FROM dockerhub.cisco.com/icn-docker/hicn-base-devel-focal:x86_64
WORKDIR /hicn-build
-RUN apt-get update
-
-# Do not prompt
-ENV DEBIAN_FRONTEND=noninteractive
-
-# Prevent vpp to set sysctl
-ENV VPP_INSTALL_SKIP_SYSCTL=1
-
-# Add packagecloud repo
-RUN apt-get install -y git curl
-
# Get versions from versions.cmake
-ARG VERSIONS_PATH=/tmp/versions.cmake
-COPY versions.cmake ${VERSIONS_PATH}
-
-RUN export VPP_VERSION=$(cat ${VERSIONS_PATH} | grep VPP_DEFAULT_VERSION | cut -d ' ' -f 2 | tr -d '"' | grep -Po '\d\d.\d\d') && echo ${VPP_VERSION}
+ARG VERSION_PATH=/tmp/versions.cmake
+COPY versions.cmake ${VERSION_PATH}
+ARG INSTALL_VPP_SCRIPT=/tmp/install-vpp.sh
+COPY scripts/install-vpp.sh ${INSTALL_VPP_SCRIPT}
-# Install devel packages
-RUN apt update
-SHELL ["/bin/bash", "-c"]
-RUN export VPP_VERSION=$(cat ${VERSIONS_PATH} | grep VPP_DEFAULT_VERSION | cut -d ' ' -f 2 | tr -d '"' | grep -Po '\d\d.\d\d') && \
- curl -s https://packagecloud.io/install/repositories/fdio/${VPP_VERSION//./}/script.deb.sh | bash && \
- apt-get install -y \
- cmake \
- ninja-build \
- unzip \
- libconfig-dev \
- python3-ply \
- libconfig++-dev \
- build-essential \
- vpp-dev \
- libvppinfra-dev \
- vpp-plugin-core \
- vpp \
- libvppinfra \
- libevent-dev \
+RUN VERSION_PATH=${VERSION_PATH} bash -x ${INSTALL_VPP_SCRIPT}
+RUN apt update && apt-get install -y \
libssl-dev \
- make \
- sudo \
- libcurl4-openssl-dev \
iproute2 \
iperf3 \
iputils-ping \
tcpdump \
- gdb \
- libasio-dev --no-install-recommends
-
-# Switch back to dialog for any ad-hoc use of apt-get
-ENV DEBIAN_FRONTEND=
+ gdb --no-install-recommends