# <% # Make sure the local copy of the driver is loaded %> # <% lib = File.expand_path('../lib', __FILE__) %> # <% $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) %> --- driver: name: docker provision_command: curl -L https://www.chef.io/chef/install.sh | bash transport: name: docker provisioner: name: dummy platforms: - name: amazonlinux-2 - name: ubuntu-18.04 - name: ubuntu-20.04 - name: fedora-latest driver: provision_command: - yum install libxcrypt-compat -y - curl -L https://www.chef.io/chef/install.sh | bash - name: centos-7 - name: oraclelinux-7 - name: rockylinux-8 - name: debian-11 - name: debian-12 - name: opensuse-15 driver: image: opensuse/leap:15 - name: dockerfile driver: username: dockerfile password: dockerfile dockerfile: test/Dockerfile run_command: /sbin/init suites: - name: default - name: no_build_context driver: build_context: false - name: capabilities includes: [debian-11, ubuntu-18.04, ubuntu-20.04] driver: provision_command: - curl -L https://www.chef.io/chef/install.sh | bash - apt-get install -y net-tools cap_drop: - NET_ADMIN - name: arm64 driver: docker_platform: linux/arm64 - name: amd64 driver: docker_platform: linux/amd64 - name: inspec driver: provision_command: true verifier: name: inspec