Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

update python to 3.9 in dockerfile

Jason Kent0ecb69a9d31d
diff --git a/Dockerfile b/Dockerfile
index caa0bd718..81cb68355 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,18 +19,18 @@ RUN yum install -y epel-release && \
openssl-devel \
xz
RUN cd /usr/src && \
- wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz && \
- tar xzf Python-3.7.4.tgz && \
- rm Python-3.7.4.tgz && \
- cd Python-3.7.4 && \
+ wget https://www.python.org/ftp/python/3.9.4/Python-3.9.4.tar.xz && \
+ tar xzf Python-3.9.4.tar.xz && \
+ rm Python-3.9.4.tar.xz && \
+ cd Python-3.9.4 && \
./configure --enable-optimizations && \
make altinstall && \
- ln -sf /usr/local/bin/python3.7 /usr/local/bin/python3 && \
+ ln -sf /usr/local/bin/python3.9 /usr/local/bin/python3 && \
python3 -V && \
curl -O https://bootstrap.pypa.io/get-pip.py && \
python3 get-pip.py && \
python3 -m ensurepip && \
- pip install virtualenv && \
+ pip install --upgrade pip && \
pip --version
RUN mkdir -p /usr/local/stow
RUN cd /usr/local/stow && \
@@ -39,7 +39,6 @@ RUN cd /usr/local/stow && \
rm -f /usr/local/stow/node/node-v10.19.0-linux-x64.tar.xz && \
rm -f /usr/local/stow/node-v10.19.0-linux-x64/{LICENSE,*.md} && \
stow -S node-v10.19.0-linux-x64
-RUN ln -s /usr/bin/virtualenv-3.7.4 /usr/bin/virtualenv
WORKDIR /build
# Only what is needed to run the development server and run the Selenium tests