From faeb727176e7e12aee79f73c7d9259f29516f25c Mon Sep 17 00:00:00 2001 From: Bengt Thuree Date: Thu, 8 Sep 2022 14:58:31 +1000 Subject: [PATCH] Chore: Update local-docker Replace libwxgtk3.0-0v5 with libwxgtk3.0-gtk3-0v5 Issue-ID: CIMAN-33 Signed-off-by: Bengt Thuree Change-Id: I6aa5cdc57b8cb0ad623fb9cae1012f367c6eac20 --- packer/provision/local-docker.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml index 6e3aad8c5..dad1cba45 100644 --- a/packer/provision/local-docker.yaml +++ b/packer/provision/local-docker.yaml @@ -248,12 +248,25 @@ - name: Install Erlang dependency packages apt: name: - - libwxgtk3.0-0v5 - libsctp1 - libwxbase3.0-0v5 become: true when: ansible_architecture == 'x86_64' and ansible_distribution == 'Ubuntu' + - name: Install Erlang dependency package libwxgtk3 for 18.04 + apt: + name: + - libwxgtk3.0-0v5 + become: true + when: ansible_architecture == 'x86_64' and ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04' + + - name: Install Erlang dependency package libwxgtk3 for 20.04 + apt: + name: + - libwxgtk3.0-gtk3-0v5 + become: true + when: ansible_architecture == 'x86_64' and ansible_distribution == 'Ubuntu' and ansible_distribution_version == '20.04' + - name: Install Erlang apt: deb: https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_19.3.6-1~ubuntu~trusty_amd64.deb -- 2.16.6