aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-12-16 01:06:12 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-12-16 01:06:12 +0000
commit73a435f70a7f5df20dff5eaa93df4a6880b12d4c (patch)
treeb10e9334cb10b245f49db1862c57bbce1033d72b
parentfix dockerfile path (diff)
downloadTCPD-73a435f70a7f5df20dff5eaa93df4a6880b12d4c.tar.gz
TCPD-73a435f70a7f5df20dff5eaa93df4a6880b12d4c.zip
Install venv instead of virtualenv in docker
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index b242e8c..4febb1c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,11 +9,11 @@ RUN apt-get update && \
python3 \
python3-dev \
python3-pip && \
+ python3-venv && \
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
+ cd /usr/local/bin && ln -s /usr/bin/pip3 pip
# Make bash the default shell
RUN mv /bin/sh /bin/sh.old && cp /bin/bash /bin/sh