Compare commits
36
Commits
98d71d6686
..
0.5.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c5190b205
|
||
|
|
eb16be3cff
|
||
|
|
3991499f84
|
||
|
|
48e4defedc
|
||
|
|
279b472599
|
||
|
|
786a8d986f | ||
|
|
29f75b3655
|
||
|
|
7dd054a09b | ||
|
|
37312c121e
|
||
|
|
54f8fe5ac8
|
||
|
|
e64b5267f6 | ||
|
|
d93fa2fa16
|
||
|
|
e4fc62524a | ||
|
|
90c6e35913
|
||
|
|
08c98c6caf | ||
|
|
85c70b2c3a | ||
|
|
30a7fe1c6e
|
||
|
|
18c61257b6
|
||
|
|
400f4316a4
|
||
|
|
49f9456fae
|
||
|
|
0b8720408d
|
||
|
|
7cfce02503
|
||
|
|
1e16823556
|
||
|
|
31f5965f7c
|
||
|
|
f906a5a3c8
|
||
|
|
3e5bab8d46
|
||
|
|
f103308dff
|
||
|
|
1a8bdee1ed
|
||
|
|
76f6f55b44
|
||
|
|
f609f8ce1c
|
||
|
|
9a78432d52 | ||
|
|
96a2edb129
|
||
|
|
bb357ebb03 | ||
|
|
e29b38cef3
|
||
|
|
e31896349b | ||
|
|
56b6a1bf7f
|
No files matched your search
@@ -15,9 +15,19 @@ jobs:
|
|||||||
build-arch-linux:
|
build-arch-linux:
|
||||||
runs-on: ubuntu-latest-amd64
|
runs-on: ubuntu-latest-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
|
|
||||||
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
- uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
|
||||||
|
with:
|
||||||
|
registry: harbor.cryptic.systems
|
||||||
|
username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }}
|
||||||
|
password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }}
|
||||||
|
|
||||||
|
- uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||||
|
with:
|
||||||
|
image: harbor.cryptic.systems/docker/tonistiigi/binfmt:qemu-v10.2.3 # renovate: datasource=docker registryUrl=https://docker.io depName=tonistiigi/binfmt extractVersion='qemu-(?<version>v\d+\.\d+\.\d+)$'
|
||||||
|
|
||||||
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
@@ -31,9 +41,19 @@ jobs:
|
|||||||
build-rocky-linux-8:
|
build-rocky-linux-8:
|
||||||
runs-on: ubuntu-latest-amd64
|
runs-on: ubuntu-latest-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
|
|
||||||
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
- uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
|
||||||
|
with:
|
||||||
|
registry: harbor.cryptic.systems
|
||||||
|
username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }}
|
||||||
|
password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }}
|
||||||
|
|
||||||
|
- uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||||
|
with:
|
||||||
|
image: docker.io/tonistiigi/binfmt:qemu-v10.2.3 # renovate: datasource=docker registryUrl=https://docker.io depName=tonistiigi/binfmt extractVersion='qemu-(?<version>v\d+\.\d+\.\d+)$'
|
||||||
|
|
||||||
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
@@ -47,9 +67,19 @@ jobs:
|
|||||||
build-rocky-linux-9:
|
build-rocky-linux-9:
|
||||||
runs-on: ubuntu-latest-amd64
|
runs-on: ubuntu-latest-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
|
|
||||||
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
- uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
|
||||||
|
with:
|
||||||
|
registry: harbor.cryptic.systems
|
||||||
|
username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }}
|
||||||
|
password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }}
|
||||||
|
|
||||||
|
- uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||||
|
with:
|
||||||
|
image: docker.io/tonistiigi/binfmt:qemu-v10.2.3 # renovate: datasource=docker registryUrl=https://docker.io depName=tonistiigi/binfmt extractVersion='qemu-(?<version>v\d+\.\d+\.\d+)$'
|
||||||
|
|
||||||
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
@@ -59,3 +89,29 @@ jobs:
|
|||||||
--file Dockerfile.rockylinux9 \
|
--file Dockerfile.rockylinux9 \
|
||||||
--tag git.cryptic.systems/volker.raschek/ansible:${TAG}-rockylinux-9 \
|
--tag git.cryptic.systems/volker.raschek/ansible:${TAG}-rockylinux-9 \
|
||||||
.
|
.
|
||||||
|
|
||||||
|
build-rocky-linux-10:
|
||||||
|
runs-on: ubuntu-latest-amd64
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
|
- uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
|
||||||
|
with:
|
||||||
|
registry: harbor.cryptic.systems
|
||||||
|
username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }}
|
||||||
|
password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }}
|
||||||
|
|
||||||
|
- uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||||
|
with:
|
||||||
|
image: docker.io/tonistiigi/binfmt:qemu-v10.2.3 # renovate: datasource=docker registryUrl=https://docker.io depName=tonistiigi/binfmt extractVersion='qemu-(?<version>v\d+\.\d+\.\d+)$'
|
||||||
|
|
||||||
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||||
|
|
||||||
|
- name: Build image
|
||||||
|
run: |
|
||||||
|
TAG=latest
|
||||||
|
|
||||||
|
docker buildx build \
|
||||||
|
--file Dockerfile.rockylinux10 \
|
||||||
|
--tag git.cryptic.systems/volker.raschek/ansible:${TAG}-rockylinux-10 \
|
||||||
|
.
|
||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
runs-on:
|
runs-on:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: DavidAnson/markdownlint-cli2-action@ded1f9488f68a970bc66ea5619e13e9b52e601cd # v23.2.0
|
- uses: DavidAnson/markdownlint-cli2-action@21c1be1b93ad9ed58fa840aacc3f279cde2a72ff # v24.2.0
|
||||||
with:
|
with:
|
||||||
globs: '**/*.md'
|
globs: '**/*.md'
|
||||||
@@ -9,16 +9,26 @@ jobs:
|
|||||||
push-arch-linux:
|
push-arch-linux:
|
||||||
runs-on: ubuntu-latest-amd64
|
runs-on: ubuntu-latest-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
|
|
||||||
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
|
||||||
|
|
||||||
- uses: docker/login-action@abd2ef45e78c5afb21d64d4ca52ee8550d9572c7 # v4.5.1
|
- uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
|
||||||
with:
|
with:
|
||||||
registry: git.cryptic.systems
|
registry: git.cryptic.systems
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
||||||
|
|
||||||
|
- uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
|
||||||
|
with:
|
||||||
|
registry: harbor.cryptic.systems
|
||||||
|
username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }}
|
||||||
|
password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }}
|
||||||
|
|
||||||
|
- uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||||
|
with:
|
||||||
|
image: harbor.cryptic.systems/docker/tonistiigi/binfmt:qemu-v10.2.3 # renovate: datasource=docker registryUrl=https://docker.io depName=tonistiigi/binfmt extractVersion='qemu-(?<version>v\d+\.\d+\.\d+)$'
|
||||||
|
|
||||||
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||||
|
|
||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
run: |
|
run: |
|
||||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||||
@@ -32,16 +42,26 @@ jobs:
|
|||||||
push-rocky-linux-8:
|
push-rocky-linux-8:
|
||||||
runs-on: ubuntu-latest-amd64
|
runs-on: ubuntu-latest-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
|
|
||||||
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
|
||||||
|
|
||||||
- uses: docker/login-action@abd2ef45e78c5afb21d64d4ca52ee8550d9572c7 # v4.5.1
|
- uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
|
||||||
with:
|
with:
|
||||||
registry: git.cryptic.systems
|
registry: git.cryptic.systems
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
||||||
|
|
||||||
|
- uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
|
||||||
|
with:
|
||||||
|
registry: harbor.cryptic.systems
|
||||||
|
username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }}
|
||||||
|
password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }}
|
||||||
|
|
||||||
|
- uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||||
|
with:
|
||||||
|
image: docker.io/tonistiigi/binfmt:qemu-v10.2.3 # renovate: datasource=docker registryUrl=https://docker.io depName=tonistiigi/binfmt extractVersion='qemu-(?<version>v\d+\.\d+\.\d+)$'
|
||||||
|
|
||||||
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||||
|
|
||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
run: |
|
run: |
|
||||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||||
@@ -55,16 +75,26 @@ jobs:
|
|||||||
push-rocky-linux-9:
|
push-rocky-linux-9:
|
||||||
runs-on: ubuntu-latest-amd64
|
runs-on: ubuntu-latest-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
|
|
||||||
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
|
||||||
|
|
||||||
- uses: docker/login-action@abd2ef45e78c5afb21d64d4ca52ee8550d9572c7 # v4.5.1
|
- uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
|
||||||
with:
|
with:
|
||||||
registry: git.cryptic.systems
|
registry: git.cryptic.systems
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
||||||
|
|
||||||
|
- uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
|
||||||
|
with:
|
||||||
|
registry: harbor.cryptic.systems
|
||||||
|
username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }}
|
||||||
|
password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }}
|
||||||
|
|
||||||
|
- uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||||
|
with:
|
||||||
|
image: docker.io/tonistiigi/binfmt:qemu-v10.2.3 # renovate: datasource=docker registryUrl=https://docker.io depName=tonistiigi/binfmt extractVersion='qemu-(?<version>v\d+\.\d+\.\d+)$'
|
||||||
|
|
||||||
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||||
|
|
||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
run: |
|
run: |
|
||||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||||
@@ -75,11 +105,45 @@ jobs:
|
|||||||
--tag git.cryptic.systems/volker.raschek/ansible:${TAG}-rockylinux-9 \
|
--tag git.cryptic.systems/volker.raschek/ansible:${TAG}-rockylinux-9 \
|
||||||
.
|
.
|
||||||
|
|
||||||
|
push-rocky-linux-10:
|
||||||
|
runs-on: ubuntu-latest-amd64
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
||||||
|
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||||
|
with:
|
||||||
|
registry: git.cryptic.systems
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
||||||
|
|
||||||
|
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||||
|
with:
|
||||||
|
registry: harbor.cryptic.systems
|
||||||
|
username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }}
|
||||||
|
password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }}
|
||||||
|
|
||||||
|
- uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||||
|
with:
|
||||||
|
image: docker.io/tonistiigi/binfmt:qemu-v10.2.3 # renovate: datasource=docker registryUrl=https://docker.io depName=tonistiigi/binfmt extractVersion='qemu-(?<version>v\d+\.\d+\.\d+)$'
|
||||||
|
|
||||||
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||||
|
|
||||||
|
- name: Build and push image
|
||||||
|
run: |
|
||||||
|
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||||
|
|
||||||
|
docker buildx build \
|
||||||
|
--file Dockerfile.rockylinux10 \
|
||||||
|
--push \
|
||||||
|
--tag git.cryptic.systems/volker.raschek/ansible:${TAG}-rockylinux-10 \
|
||||||
|
.
|
||||||
|
|
||||||
sync-to-hub-docker-io:
|
sync-to-hub-docker-io:
|
||||||
needs:
|
needs:
|
||||||
- push-arch-linux
|
- push-arch-linux
|
||||||
- push-rocky-linux-8
|
- push-rocky-linux-8
|
||||||
- push-rocky-linux-9
|
- push-rocky-linux-9
|
||||||
|
- push-rocky-linux-10
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Copy images to docker.io
|
- name: Copy images to docker.io
|
||||||
@@ -89,7 +153,7 @@ jobs:
|
|||||||
apt-get update --yes
|
apt-get update --yes
|
||||||
apt-get install --yes skopeo
|
apt-get install --yes skopeo
|
||||||
|
|
||||||
for suffix in archlinux rockylinux-8 rockylinux-9; do
|
for suffix in archlinux rockylinux-8 rockylinux-9 rockylinux-10; do
|
||||||
skopeo copy \
|
skopeo copy \
|
||||||
--all \
|
--all \
|
||||||
--dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \
|
--dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on:
|
runs-on:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5.0.0
|
- uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5.0.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_IO_USERNAME }}
|
username: ${{ secrets.DOCKER_IO_USERNAME }}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ RUN pacman --sync --sysupgrade --refresh --noconfirm && \
|
|||||||
pacman --sync --noconfirm \
|
pacman --sync --noconfirm \
|
||||||
ansible \
|
ansible \
|
||||||
ansible-lint \
|
ansible-lint \
|
||||||
|
azure-cli \
|
||||||
base-devel \
|
base-devel \
|
||||||
libffi \
|
libffi \
|
||||||
openssl \
|
openssl \
|
||||||
@@ -11,6 +12,7 @@ RUN pacman --sync --sysupgrade --refresh --noconfirm && \
|
|||||||
python \
|
python \
|
||||||
python-boto3 \
|
python-boto3 \
|
||||||
python-botocore \
|
python-botocore \
|
||||||
|
python-hvac \
|
||||||
python-setuptools \
|
python-setuptools \
|
||||||
python-passlib \
|
python-passlib \
|
||||||
python-pip \
|
python-pip \
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
FROM docker.io/library/rockylinux:10
|
||||||
|
|
||||||
|
RUN dnf update --assumeyes && \
|
||||||
|
dnf install --assumeyes bash-completion sudo && \
|
||||||
|
dnf install --assumeyes epel-release && \
|
||||||
|
dnf install --assumeyes ansible-core && \
|
||||||
|
dnf install --assumeyes python3.12 python3-boto3 python3-botocore && \
|
||||||
|
dnf remove --assumeyes epel-release && \
|
||||||
|
dnf clean all
|
||||||
|
|
||||||
|
# Install tools via pip
|
||||||
|
RUN curl --fail --silent --location https://bootstrap.pypa.io/get-pip.py --output get-pip.py && \
|
||||||
|
python3 get-pip.py && \
|
||||||
|
pip install ansible-lint boto3 passlib
|
||||||
|
|
||||||
|
# Install Azure Client
|
||||||
|
RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc && \
|
||||||
|
dnf install --assumeyes https://packages.microsoft.com/config/rhel/10/packages-microsoft-prod.rpm && \
|
||||||
|
dnf update --assumeyes && \
|
||||||
|
dnf install --assumeyes azure-cli
|
||||||
|
|
||||||
|
# Create default ansible inventory file
|
||||||
|
RUN mkdir --parents /etc/ansible
|
||||||
|
RUN echo -e "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|
||||||
|
|
||||||
|
# Remove unnecessary getty and udev targets that result in high CPU usage when
|
||||||
|
# using multiple containers with molecule
|
||||||
|
# (https://github.com/ansible/molecule/issues/1104)
|
||||||
|
RUN rm --recursive --force /lib/systemd/system/systemd*udev* && \
|
||||||
|
rm --recursive --force /lib/systemd/system/getty.target
|
||||||
|
|
||||||
|
VOLUME [ "/sys/fs/cgroup", "/tmp", "/run"]
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM docker.io/library/rockylinux:9
|
FROM docker.io/library/rockylinux:8
|
||||||
|
|
||||||
RUN dnf update --assumeyes && \
|
RUN dnf update --assumeyes && \
|
||||||
dnf install --assumeyes bash-completion sudo && \
|
dnf install --assumeyes bash-completion sudo && \
|
||||||
|
|||||||
@@ -17,6 +17,12 @@ RUN ln --symbolic --force /usr/bin/python3.12 /usr/bin/python3 && \
|
|||||||
python3 get-pip.py && \
|
python3 get-pip.py && \
|
||||||
pip install ansible-lint boto3 passlib
|
pip install ansible-lint boto3 passlib
|
||||||
|
|
||||||
|
# Install Azure Client
|
||||||
|
RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc && \
|
||||||
|
dnf install --assumeyes https://packages.microsoft.com/config/rhel/9.0/packages-microsoft-prod.rpm && \
|
||||||
|
dnf update --assumeyes && \
|
||||||
|
dnf install --assumeyes azure-cli
|
||||||
|
|
||||||
# Create default ansible inventory file
|
# Create default ansible inventory file
|
||||||
RUN mkdir --parents /etc/ansible
|
RUN mkdir --parents /etc/ansible
|
||||||
RUN echo -e "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|
RUN echo -e "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|
||||||
|
|||||||
@@ -30,6 +30,15 @@ ANSIBLE_RL9_IMAGE_VERSION?=latest
|
|||||||
ANSIBLE_RL9_IMAGE_VERSION_SUFFIX=rockylinux-9
|
ANSIBLE_RL9_IMAGE_VERSION_SUFFIX=rockylinux-9
|
||||||
ANSIBLE_RL9_IMAGE_FULLY_QUALIFIED=${ANSIBLE_RL9_IMAGE_REGISTRY_HOST}/${ANSIBLE_RL9_IMAGE_NAMESPACE}/${ANSIBLE_RL9_IMAGE_REPOSITORY}:${ANSIBLE_RL9_IMAGE_VERSION}-${ANSIBLE_RL9_IMAGE_VERSION_SUFFIX}
|
ANSIBLE_RL9_IMAGE_FULLY_QUALIFIED=${ANSIBLE_RL9_IMAGE_REGISTRY_HOST}/${ANSIBLE_RL9_IMAGE_NAMESPACE}/${ANSIBLE_RL9_IMAGE_REPOSITORY}:${ANSIBLE_RL9_IMAGE_VERSION}-${ANSIBLE_RL9_IMAGE_VERSION_SUFFIX}
|
||||||
|
|
||||||
|
# RockyLinux9
|
||||||
|
ANSIBLE_RL10_IMAGE_REGISTRY_HOST?=git.cryptic.systems
|
||||||
|
ANSIBLE_RL10_IMAGE_REGISTRY_USER?=volker.raschek
|
||||||
|
ANSIBLE_RL10_IMAGE_NAMESPACE?=${ANSIBLE_RL8_IMAGE_REGISTRY_USER}
|
||||||
|
ANSIBLE_RL10_IMAGE_REPOSITORY:=ansible
|
||||||
|
ANSIBLE_RL10_IMAGE_VERSION?=latest
|
||||||
|
ANSIBLE_RL10_IMAGE_VERSION_SUFFIX=rockylinux-10
|
||||||
|
ANSIBLE_RL10_IMAGE_FULLY_QUALIFIED=${ANSIBLE_RL10_IMAGE_REGISTRY_HOST}/${ANSIBLE_RL10_IMAGE_NAMESPACE}/${ANSIBLE_RL10_IMAGE_REPOSITORY}:${ANSIBLE_RL10_IMAGE_VERSION}-${ANSIBLE_RL10_IMAGE_VERSION_SUFFIX}
|
||||||
|
|
||||||
# BUILD ANSIBLE ARCHLINUX CONTAINER IMAGE
|
# BUILD ANSIBLE ARCHLINUX CONTAINER IMAGE
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
PHONY:=container-image/build/arch-linux
|
PHONY:=container-image/build/arch-linux
|
||||||
@@ -102,6 +111,30 @@ container-image/push/rocky-linux-9:
|
|||||||
echo ${ANSIBLE_ARCH_IMAGE_REGISTRY_PASSWORD} | ${CONTAINER_RUNTIME} login ${ANSIBLE_ARCH_IMAGE_REGISTRY_HOST} --username ${ANSIBLE_ARCH_IMAGE_REGISTRY_USER} --password-stdin
|
echo ${ANSIBLE_ARCH_IMAGE_REGISTRY_PASSWORD} | ${CONTAINER_RUNTIME} login ${ANSIBLE_ARCH_IMAGE_REGISTRY_HOST} --username ${ANSIBLE_ARCH_IMAGE_REGISTRY_USER} --password-stdin
|
||||||
${CONTAINER_RUNTIME} push ${ANSIBLE_ARCH_IMAGE_FULLY_QUALIFIED}
|
${CONTAINER_RUNTIME} push ${ANSIBLE_ARCH_IMAGE_FULLY_QUALIFIED}
|
||||||
|
|
||||||
|
# BUILD ANSIBLE RL10 CONTAINER IMAGE
|
||||||
|
# ==============================================================================
|
||||||
|
PHONY:=container-image/build/rocky-linux-10
|
||||||
|
container-image/build/rocky-linux-10:
|
||||||
|
${CONTAINER_RUNTIME} build \
|
||||||
|
--file Dockerfile.rockylinux10 \
|
||||||
|
--no-cache \
|
||||||
|
--pull \
|
||||||
|
--tag ${ANSIBLE_RL10_IMAGE_FULLY_QUALIFIED} \
|
||||||
|
.
|
||||||
|
|
||||||
|
# DELETE ANSIBLE RL10 CONTAINER IMAGE
|
||||||
|
# ==============================================================================
|
||||||
|
PHONY:=container-image/delete/rocky-linux-10
|
||||||
|
container-image/delete/rocky-linux-10:
|
||||||
|
- ${CONTAINER_RUNTIME} image rm ${ANSIBLE_RL10_IMAGE_FULLY_QUALIFIED}
|
||||||
|
|
||||||
|
# PUSH ANSIBLE RL10 CONTAINER IMAGE
|
||||||
|
# ==============================================================================
|
||||||
|
PHONY+=container-image/push/rocky-linux-10
|
||||||
|
container-image/push/rocky-linux-10:
|
||||||
|
echo ${ANSIBLE_ARCH_IMAGE_REGISTRY_PASSWORD} | ${CONTAINER_RUNTIME} login ${ANSIBLE_ARCH_IMAGE_REGISTRY_HOST} --username ${ANSIBLE_ARCH_IMAGE_REGISTRY_USER} --password-stdin
|
||||||
|
${CONTAINER_RUNTIME} push ${ANSIBLE_ARCH_IMAGE_FULLY_QUALIFIED}
|
||||||
|
|
||||||
# PHONY
|
# PHONY
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Declare the contents of the PHONY variable as phony. We keep that information
|
# Declare the contents of the PHONY variable as phony. We keep that information
|
||||||
|
|||||||
Reference in new issue
Block a user