summaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/host_stack/testbed/Dockerfile
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-09-18 17:39:03 +0200
committerMauro Sardara <msardara@cisco.com>2020-09-18 17:41:14 +0200
commit20a773677230374ffa2d5d140f7d46032fb7bc9d (patch)
tree972ba743c7b1cfbbabd38024215af670d4dc2e3c /hicn-plugin/src/host_stack/testbed/Dockerfile
parent22738e6177e9e1348e5a9c23c5a71e1d1ef7246f (diff)
Revert to [HICN-638] Check if systemd is running before enabling hicn-light service
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I1810d96e001a4e6e097e1efa331b682af750925d
Diffstat (limited to 'hicn-plugin/src/host_stack/testbed/Dockerfile')
-rw-r--r--hicn-plugin/src/host_stack/testbed/Dockerfile46
1 files changed, 0 insertions, 46 deletions
diff --git a/hicn-plugin/src/host_stack/testbed/Dockerfile b/hicn-plugin/src/host_stack/testbed/Dockerfile
deleted file mode 100644
index 4e7005938..000000000
--- a/hicn-plugin/src/host_stack/testbed/Dockerfile
+++ /dev/null
@@ -1,46 +0,0 @@
-FROM ubuntu:18.04
-
-ARG USERNAME=ubuntu
-ARG USER_UID=1000
-ARG USER_GID=$USER_UID
-
-ARG VPP_GRP=vpp
-ARG VPP_GID=998
-
-ARG WORKDIR=/home/ubuntu
-
-RUN apt-get update \
- && apt-get -y install --no-install-recommends apt-utils sudo dialog build-essential \
- cmake cppcheck valgrind curl autoconf automake ccache debhelper dkms git libtool \
- libapr1-dev dh-systemd libconfuse-dev git-review exuberant-ctags cscope pkg-config \
- lcov chrpath autoconf indent clang-format libnuma-dev python-all python3-all \
- python3-setuptools python-dev python-virtualenv python-pip libffi6 check \
- libboost-all-dev libffi-dev python3-ply libmbedtls-dev cmake ninja-build uuid-dev \
- python3-jsonschema gdb libssl-dev python-setuptools zsh 2>&1 \
- #
- # Verify git, process tools, lsb-release (useful for CLI installs) installed
- && apt-get -y install git procps lsb-release curl iproute2 \
- #
- # Create a non-root user to use if preferred - see https://aka.ms/vscode-remote/containers/non-root-user.
- && groupadd --gid $USER_GID $USERNAME \
- && useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
- # [Optional] Uncomment the next three lines to add sudo support
- && apt-get install -y sudo \
- && echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
- && chmod 0440 /etc/sudoers.d/$USERNAME \
- # Create vpp group
- && groupadd --gid $VPP_GID $VPP_GRP \
- #
- && mkdir -p $WORKDIR \
- #
- # Clean up
- && apt-get autoremove -y \
- && apt-get clean -y \
- && rm -rf /var/lib/apt/lists/*
-
-USER $USERNAME
-COPY init.sh /init.sh
-
-WORKDIR $WORKDIR
-
-CMD ["bash", "/init.sh"]