Skip to content

Commit

Permalink
Default to python3 for python command
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumukh authored Feb 2, 2017
1 parent 91873e9 commit 34d0b57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ RUN \
pip install requests six && \
pip install pytz arrow pdf

# Default to Python3
RUN echo "alias python=python3" >> /root/.bash_aliases
RUN mv /usr/bin/python /usr/bin/python2
RUN ln -s /usr/bin/python3 /usr/bin/python

RUN \
pip3 install okpy requests six virtualenv && \
Expand Down

0 comments on commit 34d0b57

Please sign in to comment.