UNCLASSIFIED

Commit bed368a2 authored by Matt Vasquez's avatar Matt Vasquez
Browse files

update Dockerfile with python location change

parent 2a1c4c94
Pipeline #289131 passed with stages
in 135 minutes and 13 seconds
...@@ -11,13 +11,6 @@ ENV USER=jovyan ...@@ -11,13 +11,6 @@ ENV USER=jovyan
COPY --chown=$USER *.whl *.tar.gz *.zip /tmp/packages/ COPY --chown=$USER *.whl *.tar.gz *.zip /tmp/packages/
RUN dnf install -y hostname xz-devel make gcc gcc-c++ openssl-devel bzip2-devel libffi-devel sqlite-devel && \ RUN dnf install -y hostname xz-devel make gcc gcc-c++ openssl-devel bzip2-devel libffi-devel sqlite-devel && \
rm /usr/local/bin/python && \
rm /usr/local/bin/python3 && \
cd /opt/Python-"$(python --version | awk '{print $2}')" && \
./configure --enable-optimizations && \
make altinstall && \
ln -s /opt/Python-"$(python --version | awk '{print $2}')"/python /usr/local/bin/python && \
ln -s /opt/Python-"$(python --version | awk '{print $2}')"/python /usr/local/bin/python3 && \
mkdir /envs && \ mkdir /envs && \
chown -R $USER:users /envs chown -R $USER:users /envs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment