21 Commits
1.4 ... 2.0.0

Author SHA1 Message Date
9c948d5788 prepare release
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
continuous-integration/drone Build is passing
2022-04-20 20:21:39 +02:00
f15e77fb88 fixed ubuntu 22.04 python apt package name
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-04-20 19:42:30 +02:00
12fe4cf41a and better alpine support 2022-04-20 19:41:18 +02:00
39c7266b49 some more rhel family love 2022-04-20 19:38:19 +02:00
e854da83ca added support for ubuntu 22.04
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-20 19:32:06 +02:00
61bcffed6a Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-28 20:49:45 +00:00
d07b70a09f trigger build
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-15 22:33:11 +01:00
d6a66a4e8f cpu limit as digit 2022-02-15 22:31:59 +01:00
d661d20093 trigger build 2022-02-15 22:31:11 +01:00
da6b0189ce welp drones jsonnet support does seem to lack a few things
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2022-02-13 19:40:16 +01:00
fb3a10a4d3 converted pipeline with jsonnet 2022-02-13 19:30:33 +01:00
9245bc02a6 increased limits
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-13 18:29:55 +01:00
974e29e405 LIMITS
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-02-10 16:25:01 +01:00
5c06f04f69 removed centos 8 in favor of almalinux
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-10 15:53:05 +01:00
c2252c72f0 drone yaml
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-07 17:54:53 +01:00
6bf134506d added cron to event list
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-17 21:15:58 +02:00
8bafe97a18 Merge branch 'master' of git.uploadfilter24.eu:lerentis/ansible
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-05 22:24:03 +02:00
3728e4d4d2 fixed build badge 2021-10-05 22:23:42 +02:00
d4b71fcddc [CI SKIP] updated readme 2021-10-02 17:01:42 +00:00
29a5ac9221 better message for none release
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-02 18:56:41 +02:00
f6128fe7cf better message on release
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-02 18:42:30 +02:00
12 changed files with 480 additions and 61 deletions

44
.drone.jsonnet Normal file
View File

@ -0,0 +1,44 @@
local Pipeline(tag) = {
kind: "pipeline",
type: "kubernetes",
name: tag + "build",
platform: {
os: "linux",
arch: "amd64",
},
steps: [
{
name: tag,
image: "plugins/kaniko",
settings: {
repo: "lerentis/ansible",
username: { "from_secret": "docker_username" },
password: { "from_secret": "docker_password" },
dockerfile: tag + "/Dockerfile",
tags: [ tag ],
},
resources: {
limits: {
cpu: 200,
memory: "1024MiB",
},
},
when: [ "push", "pull_request", "cron" ]
}
]
};
[
Pipeline("ubuntu-20.04"),
Pipeline("ubuntu-18.04"),
Pipeline("ubuntu-14.04"),
Pipeline("debian-8"),
Pipeline("debian-9"),
Pipeline("debian-10"),
Pipeline("centos-7"),
Pipeline("almalinux-8"),
Pipeline("fedora-24"),
Pipeline("alpine-3"),
Pipeline("arch"),
]

View File

@ -9,8 +9,29 @@ platform:
steps: steps:
- name: build-ubuntu-20 - name: build-ubuntu-22
image: plugins/kaniko image: plugins/kaniko
settings:
dockerfile: ubuntu-22.04/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- ubuntu-22.04-dev
when:
event:
- push
- pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-ubuntu-20
image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: ubuntu-20.04/Dockerfile dockerfile: ubuntu-20.04/Dockerfile
password: password:
@ -24,9 +45,14 @@ steps:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-ubuntu-18 - name: build-ubuntu-18
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: ubuntu-18.04/Dockerfile dockerfile: ubuntu-18.04/Dockerfile
password: password:
@ -40,9 +66,14 @@ steps:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-ubuntu-16 - name: build-ubuntu-16
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: ubuntu-16.04/Dockerfile dockerfile: ubuntu-16.04/Dockerfile
password: password:
@ -56,9 +87,14 @@ steps:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-ubuntu-14 - name: build-ubuntu-14
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: ubuntu-14.04/Dockerfile dockerfile: ubuntu-14.04/Dockerfile
password: password:
@ -72,9 +108,14 @@ steps:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-debian-8 - name: build-debian-8
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: debian-8/Dockerfile dockerfile: debian-8/Dockerfile
password: password:
@ -88,9 +129,14 @@ steps:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-debian-9 - name: build-debian-9
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: debian-9/Dockerfile dockerfile: debian-9/Dockerfile
password: password:
@ -104,9 +150,14 @@ steps:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-debian-10 - name: build-debian-10
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: debian-10/Dockerfile dockerfile: debian-10/Dockerfile
password: password:
@ -120,6 +171,11 @@ steps:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
--- ---
kind: pipeline kind: pipeline
@ -132,40 +188,113 @@ platform:
steps: steps:
- name: build-fedora-24 - name: build-fedora-34
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: fedora-24/Dockerfile dockerfile: fedora-34/Dockerfile
password: password:
from_secret: docker_password from_secret: docker_password
username: username:
from_secret: docker_username from_secret: docker_username
repo: lerentis/ansible repo: lerentis/ansible
tags: tags:
- fedora-24-dev - fedora-34-dev
when: when:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-centos-8 - name: build-fedora-35
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: centos-8/Dockerfile dockerfile: fedora-35/Dockerfile
password: password:
from_secret: docker_password from_secret: docker_password
username: username:
from_secret: docker_username from_secret: docker_username
repo: lerentis/ansible repo: lerentis/ansible
tags: tags:
- centos-8-dev - fedora-35-dev
when: when:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-fedora-36
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-36/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-36-dev
when:
event:
- push
- pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-fedora-37
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-37/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-37-dev
when:
event:
- push
- pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-almalinux-8
image: plugins/kaniko:1.4.1
settings:
dockerfile: almalinux-8/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- almalinux-8-dev
when:
event:
- push
- pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-centos-7 - name: build-centos-7
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: centos-7/Dockerfile dockerfile: centos-7/Dockerfile
password: password:
@ -179,6 +308,11 @@ steps:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
--- ---
kind: pipeline kind: pipeline
@ -191,21 +325,47 @@ platform:
steps: steps:
- name: build-alpine-3 - name: build-alpine-3-14
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: alpine-3/Dockerfile dockerfile: alpine-3.14/Dockerfile
password: password:
from_secret: docker_password from_secret: docker_password
username: username:
from_secret: docker_username from_secret: docker_username
repo: lerentis/ansible repo: lerentis/ansible
tags: tags:
- alpine-3-dev - alpine-3.14-dev
when: when:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-alpine-3-15
image: plugins/kaniko:1.4.1
settings:
dockerfile: alpine-3.15/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- alpine-3.15-dev
when:
event:
- push
- pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
--- ---
kind: pipeline kind: pipeline
@ -219,7 +379,7 @@ platform:
steps: steps:
- name: build-arch - name: build-arch
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: arch/Dockerfile dockerfile: arch/Dockerfile
password: password:
@ -233,6 +393,11 @@ steps:
event: event:
- push - push
- pull_request - pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
--- ---
kind: pipeline kind: pipeline
@ -245,8 +410,27 @@ platform:
steps: steps:
- name: build-ubuntu-20-release - name: build-ubuntu-22-release
image: plugins/kaniko image: plugins/kaniko
settings:
dockerfile: ubuntu-22.04/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- ubuntu-22.04
when:
event:
- tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-ubuntu-20-release
image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: ubuntu-20.04/Dockerfile dockerfile: ubuntu-20.04/Dockerfile
password: password:
@ -259,9 +443,13 @@ steps:
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-ubuntu-18-release - name: build-ubuntu-18-release
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: ubuntu-18.04/Dockerfile dockerfile: ubuntu-18.04/Dockerfile
password: password:
@ -274,9 +462,13 @@ steps:
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-ubuntu-16-release - name: build-ubuntu-16-release
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: ubuntu-16.04/Dockerfile dockerfile: ubuntu-16.04/Dockerfile
password: password:
@ -289,9 +481,13 @@ steps:
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-ubuntu-14-release - name: build-ubuntu-14-release
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: ubuntu-14.04/Dockerfile dockerfile: ubuntu-14.04/Dockerfile
password: password:
@ -304,9 +500,13 @@ steps:
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-debian-8-release - name: build-debian-8-release
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: debian-8/Dockerfile dockerfile: debian-8/Dockerfile
password: password:
@ -319,9 +519,13 @@ steps:
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-debian-9-release - name: build-debian-9-release
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: debian-9/Dockerfile dockerfile: debian-9/Dockerfile
password: password:
@ -334,9 +538,13 @@ steps:
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-debian-10-release - name: build-debian-10-release
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: debian-10/Dockerfile dockerfile: debian-10/Dockerfile
password: password:
@ -349,6 +557,10 @@ steps:
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
--- ---
kind: pipeline kind: pipeline
@ -361,38 +573,104 @@ platform:
steps: steps:
- name: build-fedora-24-release - name: build-fedora-34-release
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: fedora-24/Dockerfile dockerfile: fedora-34/Dockerfile
password: password:
from_secret: docker_password from_secret: docker_password
username: username:
from_secret: docker_username from_secret: docker_username
repo: lerentis/ansible repo: lerentis/ansible
tags: tags:
- fedora-24 - fedora-34
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-centos-8-release - name: build-fedora-35-release
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: centos-8/Dockerfile dockerfile: fedora-35/Dockerfile
password: password:
from_secret: docker_password from_secret: docker_password
username: username:
from_secret: docker_username from_secret: docker_username
repo: lerentis/ansible repo: lerentis/ansible
tags: tags:
- centos-8 - fedora-35
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-fedora-36-release
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-36/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-36
when:
event:
- tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-fedora-37-release
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-37/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-37
when:
event:
- tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-almalinux-8-release
image: plugins/kaniko:1.4.1
settings:
dockerfile: almalinux-8/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- almalinux-8
when:
event:
- tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-centos-7-release - name: build-centos-7-release
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: centos-7/Dockerfile dockerfile: centos-7/Dockerfile
password: password:
@ -405,6 +683,10 @@ steps:
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
--- ---
kind: pipeline kind: pipeline
@ -417,20 +699,43 @@ platform:
steps: steps:
- name: build-alpine-3-release - name: build-alpine-3.14-release
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: alpine-3/Dockerfile dockerfile: alpine-3.14/Dockerfile
password: password:
from_secret: docker_password from_secret: docker_password
username: username:
from_secret: docker_username from_secret: docker_username
repo: lerentis/ansible repo: lerentis/ansible
tags: tags:
- alpine-3 - alpine-3.14
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-alpine-3.15-release
image: plugins/kaniko:1.4.1
settings:
dockerfile: alpine-3.15/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- alpine-3.15
when:
event:
- tag
resources:
limits:
cpu: 200
memory: 1024MiB
--- ---
kind: pipeline kind: pipeline
@ -444,7 +749,7 @@ platform:
steps: steps:
- name: build-arch-release - name: build-arch-release
image: plugins/kaniko image: plugins/kaniko:1.4.1
settings: settings:
dockerfile: arch/Dockerfile dockerfile: arch/Dockerfile
password: password:
@ -457,7 +762,10 @@ steps:
when: when:
event: event:
- tag - tag
resources:
limits:
cpu: 200
memory: 1024MiB
--- ---
kind: pipeline kind: pipeline
@ -473,9 +781,11 @@ steps:
- name: notify - name: notify
image: appleboy/drone-telegram image: appleboy/drone-telegram
settings: settings:
message: "Commit {{ commit.link }} ran with build {{ build.number }} and finished with status {{ build.status }}." message: "Commit {{ commit.message }} ran with build {{ build.number }} and finished with status {{ build.status }}."
to: 14852963 to:
token: 335668211:AAF-YgId7iI6ANBuZVy4uVOYYqA4R4uAaqY from_secret: telegram_userid
token:
from_secret: telegram_secret
when: when:
status: status:
- failure - failure
@ -483,6 +793,7 @@ steps:
event: event:
- push - push
- pull_request - pull_request
- cron
depends_on: depends_on:
- build-arch - build-arch
- build-alpine - build-alpine
@ -503,9 +814,11 @@ steps:
- name: notify - name: notify
image: appleboy/drone-telegram image: appleboy/drone-telegram
settings: settings:
message: "Commit {{ commit.link }} ran with build {{ build.number }} and finished with status {{ build.status }}." message: "Release {{ build.tag }} ran with build {{ build.number }} and finished with status {{ build.status }}."
to: 14852963 to:
token: 335668211:AAF-YgId7iI6ANBuZVy4uVOYYqA4R4uAaqY from_secret: telegram_userid
token:
from_secret: telegram_secret
when: when:
status: status:
- failure - failure

View File

@ -1,6 +1,6 @@
# ansible # ansible
[![Build Status](https://drone.burntbunch.org/api/badges/lerentis/ansible-container/status.svg)](https://drone.burntbunch.org/lerentis/ansible-container) [![Build Status](https://drone.uploadfilter24.eu/api/badges/lerentis/ansible/status.svg)](https://drone.uploadfilter24.eu/lerentis/ansible)
Docker images for running and testing ansible playbooks with various operating systems. Docker images for running and testing ansible playbooks with various operating systems.
This Project is based on this [project](https://github.com/pauvos/ansible), which seems abandoned This Project is based on this [project](https://github.com/pauvos/ansible), which seems abandoned
@ -10,11 +10,13 @@ Available operating systems:
* alpine-3 * alpine-3
* centos-7 * centos-7
* almalinux-8
* debian-8 * debian-8
* fedora-24 * fedora-24
* ubuntu-16.04 * ubuntu-16.04
* ubuntu-18.04 * ubuntu-18.04
* ubuntu-19.04 * ubuntu-20.04
* ubuntu-22.04
* arch * arch
## run playbooks ## run playbooks
@ -69,6 +71,6 @@ Note: /root/.ansible must not be an overlayfs, otherwise ssh accelerate won't wo
## references ## references
* [project](https://git.burntbunch.org/lerentis/ansible-container) * [project](https://git.uploadfilter24.eu/lerentis/ansible)
Current Version: 0.7.2 Current Version: 2.0

View File

@ -1,8 +1,7 @@
FROM centos:8 FROM almalinux:8
RUN dnf -y install python3-pip &&\ RUN dnf -y install python3-pip epel-release \
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm &&\ && dnf install -y ansible curl \
dnf install -y --enablerepo epel-playground ansible curl \
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \ && curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss \ && chmod +rx /usr/local/bin/goss \
&& touch ~/.netrc && chmod og-rw ~/.netrc \ && touch ~/.netrc && chmod og-rw ~/.netrc \

7
alpine-3.15/Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM alpine:3.15
RUN apk add --no-cache ansible curl \
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss
CMD ["ansible-playbook", "--help"]

View File

@ -1,12 +1,17 @@
#!/bin/bash #!/bin/bash
cd ubuntu-18.04 && docker buildx build -t lerentis/ansible:ubuntu-18.04 --platform=linux/arm,linux/arm64,linux/amd64 . --push cd ubuntu-18.04 && docker buildx build -t lerentis/ansible:ubuntu-18.04 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../ubuntu-16.04 && docker buildx build -t lerentis/ansible:ubuntu-16.04 --platform=linux/arm,linux/arm64,linux/amd64 . --push cd ../ubuntu-16.04 && docker buildx build -t lerentis/ansible:ubuntu-16.04 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../alpine-3 && docker buildx build -t lerentis/ansible:alpine-3 --platform=linux/arm,linux/arm64,linux/amd64 . --push cd ../alpine-3.14 && docker buildx build -t lerentis/ansible:alpine-3.14 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../alpine-3.15 && docker buildx build -t lerentis/ansible:alpine-3.15 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../ubuntu-20.04 && docker buildx build -t lerentis/ansible:ubuntu-20.04 --platform=linux/arm,linux/arm64,linux/amd64 . --push cd ../ubuntu-20.04 && docker buildx build -t lerentis/ansible:ubuntu-20.04 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../fedora-24 && docker buildx build -t lerentis/ansible:fedora-24 --platform=linux/amd64 . --push cd ../ubuntu-22.04 && docker buildx build -t lerentis/ansible:ubuntu-22.04 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../fedora-34 && docker buildx build -t lerentis/ansible:fedora-34 --platform=linux/amd64 . --push
cd ../fedora-35 && docker buildx build -t lerentis/ansible:fedora-35 --platform=linux/amd64 . --push
cd ../fedora-36 && docker buildx build -t lerentis/ansible:fedora-36 --platform=linux/amd64 . --push
cd ../fedora-37 && docker buildx build -t lerentis/ansible:fedora-37 --platform=linux/amd64 . --push
cd ../debian-9 && docker buildx build -t lerentis/ansible:debian-9 --platform=linux/arm,linux/amd64 . --push cd ../debian-9 && docker buildx build -t lerentis/ansible:debian-9 --platform=linux/arm,linux/amd64 . --push
cd ../debian-8 && docker buildx build -t lerentis/ansible:debian-8 --platform=linux/arm,linux/amd64 . --push cd ../debian-8 && docker buildx build -t lerentis/ansible:debian-8 --platform=linux/arm,linux/amd64 . --push
cd ../debian-10 && docker buildx build -t lerentis/ansible:debian-10 --platform=linux/arm64,linux/amd64 . --push cd ../debian-10 && docker buildx build -t lerentis/ansible:debian-10 --platform=linux/arm64,linux/amd64 . --push
cd ../centos-7 && docker buildx build -t lerentis/ansible:centos-7 --platform=linux/arm64,linux/amd64 . --push cd ../centos-7 && docker buildx build -t lerentis/ansible:centos-7 --platform=linux/arm64,linux/amd64 . --push
cd ../centos-8 && docker buildx build -t lerentis/ansible:centos-8 --platform=linux/arm64,linux/amd64 . --push cd ../almalinux-8 && docker buildx build -t lerentis/ansible:almalinux-8 --platform=linux/arm64,linux/amd64 . --push
cd ../arch && docker buildx build -t lerentis/ansible:arch --platform=linux/arm,linux/amd64 . --push cd ../arch && docker buildx build -t lerentis/ansible:arch --platform=linux/arm,linux/amd64 . --push

View File

@ -1,4 +1,4 @@
FROM fedora:24 FROM fedora:34
RUN dnf -y install \ RUN dnf -y install \
ansible \ ansible \

11
fedora-35/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM fedora:35
RUN dnf -y install \
ansible \
openssh-clients \
curl \
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss \
&& dnf clean all
CMD ["ansible-playbook", "--help"]

11
fedora-36/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM fedora:36
RUN dnf -y install \
ansible \
openssh-clients \
curl \
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss \
&& dnf clean all
CMD ["ansible-playbook", "--help"]

11
fedora-37/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM fedora:37
RUN dnf -y install \
ansible \
openssh-clients \
curl \
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss \
&& dnf clean all
CMD ["ansible-playbook", "--help"]

16
ubuntu-22.04/Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM ubuntu:22.04
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
software-properties-common \
apt-utils \
ansible \
python3-apt \
git-core \
openssh-client \
curl \
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss \
&& apt-get clean
CMD ["ansible-playbook", "--help"]