aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-04-24 18:44:50 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-04-24 18:44:50 +0100
commit070da27e8defc74ac34217a2e6bf16958dba12b2 (patch)
tree574108b0a7fb9732ce83d72ceb3205139dc60772
parentAdd DOI to readme (diff)
parentUpgrade to ubuntu 20.04 (diff)
downloadTCPDBench-070da27e8defc74ac34217a2e6bf16958dba12b2.tar.gz
TCPDBench-070da27e8defc74ac34217a2e6bf16958dba12b2.zip
Merge branch 'bugfix/ubuntu-eol'
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index cb4af446..d5e3e143 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:19.04
+FROM ubuntu:20.04
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && \
@@ -18,6 +18,7 @@ RUN apt-get update && \
libssl-dev \
libopenblas-dev
+
# Make sure python means python3
RUN apt-get install -y --no-install-recommends \
python3 \
@@ -28,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