diff options
author | 2022-09-30 12:29:05 +0200 | |
---|---|---|
committer | 2022-10-07 17:30:19 +0200 | |
commit | a61398ad90acdfa4ea0ac03f3d2b9bcbfd7a6dd3 (patch) | |
tree | 64cc24594bf2a010691371e16881586830b4b760 /Dockerfile | |
parent | 3476dd9ddecc87d9212c3bf56a5be52079e27def (diff) |
refactor(hicn-light): cleanup and optimizations to UDP socket face
Ticket: HICN-771
Change-Id: Ie84dc2f61888c3fdd7b3728b2a13cacbac503d1a
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index ad7f99785..000000000 --- a/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -FROM ubuntu:focal -ENV DEBIAN_FRONTEND=noninteractive -WORKDIR /hicn-build - -ARG USERNAME=ubuntu -ARG USER_UID=1000 -ARG USER_GID=${USER_UID} - -COPY Makefile versions.cmake ./ -COPY scripts scripts/ - -USER root - -RUN apt update && apt-get install -y \ - make \ - sudo \ - curl \ - valgrind \ - git \ - zsh - -RUN make deps debug-tools - -# Add non-root user -RUN groupadd --gid ${USER_GID} ${USERNAME} && \ - useradd -s /bin/bash --uid ${USER_UID} --gid ${USER_GID} -m ${USERNAME} && \ - echo ${USERNAME} ALL=\(root\) NOPASSWD:ALL >/etc/sudoers.d/${USERNAME} && \ - chmod 0440 /etc/sudoers.d/${USERNAME} - -USER ${USERNAME} -WORKDIR /home/${USERNAME} - -ENV DEBIAN_FRONTEND= |