diff --git a/Dockerfile b/Dockerfile
index 37b2dbe96eaabcf6855679b7d5897e1231ac5efc..240f915062fbee5c742926c6bade7944dd8b3d46 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,7 +9,7 @@ ENV DEBIAN_FRONTEND noninteractive
 
 # Install needed tools
 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 clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 
@@ -24,7 +24,7 @@ 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 PATH=$PYENV_ROOT/bin:$PATH" >> /builder/.profile
 
 USER root