Skip to content
Snippets Groups Projects
Commit a26f2469 authored by inso's avatar inso
Browse files

Update Dockerfile

parent 6ed94828
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -9,7 +9,7 @@ ENV DEBIAN_FRONTEND noninteractive ...@@ -9,7 +9,7 @@ ENV DEBIAN_FRONTEND noninteractive
# Install needed tools # Install needed tools
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y apt-transport-https curl && \ apt-get install -y apt-transport-https curl git && \
apt-get update && \ apt-get update && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
...@@ -24,7 +24,7 @@ ENV PYENV_ROOT "/builder/.pyenv" ...@@ -24,7 +24,7 @@ ENV PYENV_ROOT "/builder/.pyenv"
USER builder USER builder
RUN git clone https://github.com/pyenv/pyenv.git /builder/.pyenv && \ RUN git clone https://github.com/pyenv/pyenv.git /builder/.pyenv && \
echo "export PYENV_ROOT=$PYENV_ROOT" >> /builder/.profile && \ echo "export PYENV_ROOT=$PYENV_ROOT" >> /builder/.profile && \
echo "export PATH=$PYENV_ROOT/bin:$PATH" >> /builder/.profile && \ echo "export PATH=$PYENV_ROOT/bin:$PATH" >> /builder/.profile
USER root USER root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment