-
Notifications
You must be signed in to change notification settings - Fork 17
/
.kitchen.docker.yml
50 lines (43 loc) · 1.19 KB
/
.kitchen.docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Usage: KITCHEN_YAML=.kitchen.docker.yml bundle exec kitchen list
---
driver:
name: dokken
chef_version: 17.9.46
privileged: true # because Docker and SystemD/Upstart
transport:
name: dokken
provisioner:
name: dokken
chef_license: accept
verifier:
name: inspec
platforms:
- name: centos-stream-8
driver:
image: dokken/centos-stream-8
intermediate_instructions:
- RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
- RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
- RUN dnf clean all
- RUN dnf -y install net-tools lsof
pid_one_command: /usr/lib/systemd/systemd
- name: fedora-39
driver:
image: dokken/fedora-39
intermediate_instructions:
- RUN yum clean all
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN yum -y install tar yum
- name: ubuntu-22.04
driver:
image: dokken/ubuntu-22.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install apt-transport-https net-tools curl -y
suites:
- name: default
ports:
- 8081
- 8082