diff options
-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 |