From 346abce648f7f090c8372fb71662fae8d7673954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Heidb=C3=BCchel?= <forkedjensh@mailbox.org> Date: Tue, 9 Mar 2021 11:56:06 +0100 Subject: [PATCH] Adapt Dockerfile.ubuntu --- Dockerfile.ubuntu | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index ee7d93b..728be6f 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -1,13 +1,32 @@ FROM ubuntu:bionic -LABEL maintainer="Jens Heidbüchel <j.heidbuechel@fz-juelich.de>" -ENV REFRESHED_AT 2020-06-09 +LABEL maintainer="Jens Heidbüchel <j.heidbuechel@fz-juelich.de>" +ENV REFRESHED_AT 2021-03-08 ENV DEBIAN_FRONTEND noninteractive +ENV CRYPTOGRAPHY_DONT_BUILD_RUST 1 -RUN apt-get update && \ - apt-get -yqq install git openssh-client openssl ca-certificates lxd \ - qemu-utils build-essential libffi-dev krb5-user libkrb5-dev python3 \ - python3-pip && \ - apt-get -yqq clean ADD requirements.txt /root/requirements.txt -RUN pip3 install -r /root/requirements.txt + +RUN apt-get update && \ + apt-get -yqq install \ + ca-certificates \ + curl \ + gcc \ + git \ + krb5-user \ + libffi-dev \ + libkrb5-dev \ + openssh-client \ + openssl \ + python3 \ + python3-pip \ + qemu-utils && \ + curl -fsSL -o /tmp/get-helm \ + https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 &&\ + bash /tmp/get-helm && \ + helm plugin install https://github.com/databus23/helm-diff && \ + pip3 install --upgrade pip && \ + pip3 install --no-cache-dir -r /root/requirements.txt && \ + apt-get -yqq remove gcc libffi-dev libkrb5-dev && \ + rm -f /root/requirements.txt /tmp/get-helm && \ + rm -rf /var/lib/apt/lists/* -- GitLab