blob: 70e90289b70dc6f465cd87d20540047d69533804 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Install dependencies for pyenv
RUN apt-get update && apt-get install -y ${'\\'}
libbz2-dev ${'\\'}
libncurses5-dev ${'\\'}
libncursesw5-dev ${'\\'}
libreadline-dev ${'\\'}
libsqlite3-dev ${'\\'}
libssl-dev ${'\\'}
llvm ${'\\'}
mercurial ${'\\'}
zlib1g-dev && apt-get clean
# Install Pyenv and dev Python versions 3.5 and 3.6
RUN curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
RUN pyenv update
RUN pyenv install 3.5-dev
RUN pyenv install 3.6-dev
RUN pyenv local 3.5-dev 3.6-dev
|