From bbbb7c5269d1d3b4acca6cd3a70e17d24692fd1a Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 23 Apr 2020 23:44:29 +0100 Subject: Switch to an LTS version of ubuntu --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cb4af446..650a20e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:19.04 +FROM ubuntu:18.04 RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && \ -- cgit v1.2.3 From b16546d4ba5822b0dbf4e0a962b52ae08b0c5d7c Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 23 Apr 2020 23:48:11 +0100 Subject: Add missing curl library? --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 650a20e5..28e775b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,7 @@ RUN apt-get update && \ libgit2-dev \ libxml2-dev \ libcurl4-openssl-dev \ + libcurl4-gnutls-dev \ libssl-dev \ libopenblas-dev -- cgit v1.2.3 From ca961ffb5d0bc697818a20d55444ca790ca8e16d Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 23 Apr 2020 23:51:20 +0100 Subject: Trying to get libcurl to install --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 28e775b9..bf20e420 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:18.04 RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && \ - apt-get remove -y python && \ + apt-get remove -y python libcurl4 && \ apt-get install -y --no-install-recommends \ git \ build-essential \ -- cgit v1.2.3 From 07e382488569d014dc63290055ab19b44e489b5c Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 23 Apr 2020 23:53:52 +0100 Subject: Trying to fix libcurl installation --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bf20e420..b8711744 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:18.04 RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && \ - apt-get remove -y python libcurl4 && \ + apt-get remove -y python && \ apt-get install -y --no-install-recommends \ git \ build-essential \ @@ -14,11 +14,13 @@ RUN apt-get update && \ liblzma-dev \ libgit2-dev \ libxml2-dev \ + libcurl4=7.58.0-2ubuntu3.8 \ libcurl4-openssl-dev \ libcurl4-gnutls-dev \ libssl-dev \ libopenblas-dev + # Make sure python means python3 RUN apt-get install -y --no-install-recommends \ python3 \ -- cgit v1.2.3 From 59a1c8221167fdf6831f588b9122f6121edccaf7 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 24 Apr 2020 18:21:27 +0100 Subject: Upgrade to ubuntu 20.04 --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b8711744..d5e3e143 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:18.04 +FROM ubuntu:20.04 RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && \ @@ -14,9 +14,7 @@ RUN apt-get update && \ liblzma-dev \ libgit2-dev \ libxml2-dev \ - libcurl4=7.58.0-2ubuntu3.8 \ libcurl4-openssl-dev \ - libcurl4-gnutls-dev \ libssl-dev \ libopenblas-dev @@ -31,6 +29,7 @@ RUN apt-get install -y --no-install-recommends \ echo "alias python='python3'" >> /root/.bash_aliases && \ echo "alias pip='pip3'" >> /root/.bash_aliases && \ cd /usr/local/bin && ln -s /usr/bin/python3 python && \ + cd /usr/local/bin && ln -s /usr/bin/pip3 pip && \ pip install virtualenv abed # Set the default shell to bash -- cgit v1.2.3