From cb2666dc30ee53448d0039b6d5c52c86ba91d2ac Mon Sep 17 00:00:00 2001
From: inso <insomniak.fr@gmail.com>
Date: Tue, 13 Feb 2018 19:34:48 +0000
Subject: [PATCH] Export to .bashrc

---
 Dockerfile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 84f9e63..33540f0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -30,10 +30,9 @@ WORKDIR /builder
 ENV PYENV_ROOT "/builder/.pyenv"
 USER builder
 RUN git clone https://github.com/pyenv/pyenv.git /builder/.pyenv && \
-    echo "export PYENV_ROOT=$PYENV_ROOT" >> /builder/.profile && \
-    echo "export PATH=$PYENV_ROOT/bin:$PATH" >> /builder/.profile
+    echo "export PYENV_ROOT=$PYENV_ROOT" >> /builder/.bashrc && \
+    echo "export PATH=$PYENV_ROOT/bin:$PATH" >> /builder/.bashrc
 
-ENV PYENV_ROOT "/builder/.pyenv"
 USER builder
 RUN PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.5.5 && \
     PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --force 3.6.4
-- 
GitLab