diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-08-09 22:02:42 -0700 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-08-09 22:13:01 -0700 |
commit | 42bf82770fa7c8a1252987dae7dc64a79979b0f7 (patch) | |
tree | c3627cc4cc9294f6fef43bc693fc24b6552e4179 | |
parent | 7f93ce0acd29e306fede8f7a3f3e0ad32853c869 (diff) |
Install Python3.6 and deps
Install python-3.6 and dependency packages
needed for docker images
Change-Id: Ic54346243ebfd8aad75ea9dbf6d695cdc2f580d8
Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
-rw-r--r-- | packer/provision/local-docker.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml index db2d797c3..c3cddd4ce 100644 --- a/packer/provision/local-docker.yaml +++ b/packer/provision/local-docker.yaml @@ -44,3 +44,24 @@ name: python-tox state: present become: true + + - apt_repository: + repo: ppa:jonathonf/python-3.6 + state: present + become: true + + - name: Update and upgrade apt packages + apt: + upgrade: yes + update_cache: yes + become: true + + - name: Install Python 3.6 and packages + apt: + name: + - python3.6 + - python3.6-dev + - libssl-dev + - libmysqlclient-dev + - gcc + become: true |