From 74d0008f5159ab9a4d220a5eda40f340da95b0c5 Mon Sep 17 00:00:00 2001
From: Moritz Maxeiner <mm@ucw.sh>
Date: Mon, 6 Jul 2020 14:05:04 +0200
Subject: [PATCH] Update system-wide pip and enable access to private pip
 instance

---
 ubuntu/Dockerfile | 2 ++
 ubuntu/pip.conf   | 3 +++
 2 files changed, 5 insertions(+)
 create mode 100644 ubuntu/pip.conf

diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile
index 661232b..f382973 100644
--- a/ubuntu/Dockerfile
+++ b/ubuntu/Dockerfile
@@ -105,3 +105,5 @@ RUN apt-get install -y \
 
 ADD agki-nas01.imp.fu-berlin.de-ca-cert.crt /usr/local/share/ca-certificates/agki-nas01.imp.fu-berlin.de-ca-cert.crt
 RUN update-ca-certificates
+COPY pip.conf /etc/
+RUN python3 -m pip install --upgrade pip==20.1.1
diff --git a/ubuntu/pip.conf b/ubuntu/pip.conf
new file mode 100644
index 0000000..2556014
--- /dev/null
+++ b/ubuntu/pip.conf
@@ -0,0 +1,3 @@
+[global]
+extra-index-url = https://agki-nas01.imp.fu-berlin.de:30443/
+cert = /etc/ssl/certs/ca-certificates.crt
-- 
GitLab