diff options
author | siddharthshukla <s.shukla@jacobs-university.de> | 2016-06-28 18:48:47 +0200 |
---|---|---|
committer | siddharthshukla <s.shukla@jacobs-university.de> | 2016-07-11 23:05:05 +0200 |
commit | c478214e475e103c5cdf477f0adc18bba2c03903 (patch) | |
tree | a04e5cde058856e6126bae7e8af291852102bd8c /templates/tools/dockerfile/apt_get_pyenv.include | |
parent | 7126163b92c4b6be0ed8f9954e29fd9965cd7bb6 (diff) |
Enable py35 and py36 testing
Add dockerfile template for python_pyenv_x64 docker image
Generate the dockerfile using generate_projects.sh
Modify run_tests.py to include python3.5 and python3.6
Runs python_jessie_x64 for python versions 2.7 and 3.4, and
python_pyenv_x64 for python versions 3.5 and 3.6
Diffstat (limited to 'templates/tools/dockerfile/apt_get_pyenv.include')
-rw-r--r-- | templates/tools/dockerfile/apt_get_pyenv.include | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/apt_get_pyenv.include b/templates/tools/dockerfile/apt_get_pyenv.include new file mode 100644 index 0000000000..70e90289b7 --- /dev/null +++ b/templates/tools/dockerfile/apt_get_pyenv.include @@ -0,0 +1,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 |