Skip to content

Commit

Permalink
UnixPB: Include installation of docker-buildx plugin for Ubuntu 20+ (#…
Browse files Browse the repository at this point in the history
…3532)

* UnixPB: install docker-buildx on Ubuntu

* UnixPB: Linter fix

* GHA: switch from known error with apt-get update

See microsoft/linux-package-repositories#130 & kadena-community/kadena.js#2002

* Update build_vagrant.yml

* remove workaround for broken ubuntu runner.

* Update ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Docker/tasks/main.yml

Co-authored-by: Stewart X Addison <[email protected]>

---------

Co-authored-by: Stewart X Addison <[email protected]>
  • Loading branch information
steelhead31 and sxa committed Apr 25, 2024
1 parent 75b2f31 commit 31698fd
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
use: auto # automatic select package manager to use yum, apt and so on
when: (ansible_distribution == "Ubuntu" and ansible_distribution_major_version | int >= 20)

- name: Install docker build on Ubuntu 20+
package:
name:
- docker-buildx
state: present
use: auto # automatic select package manager to use yum, apt and so on
when: (ansible_distribution == "Ubuntu" and ansible_distribution_major_version | int >= 20)

- name: Install for SLES # zypper does not support in package module
include_tasks: sles.yml
when:
Expand Down

0 comments on commit 31698fd

Please sign in to comment.