fix: Dockerimage FROM buildargs (#5)
All checks were successful
Update Traefik Version / update-version (push) Successful in 4s

Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
2026-03-11 16:00:31 +00:00
parent 0542ddfa2b
commit cdbd05e85c
2 changed files with 10 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
FROM docker.io/library/debian:stable ARG MOLECULE_DISTRO=docker.io/library/debian:stable
FROM ${MOLECULE_DISTRO}
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \

View File

@@ -13,6 +13,8 @@ platforms:
image: docker.io/library/debian:stable image: docker.io/library/debian:stable
pre_build_image: false pre_build_image: false
dockerfile: Dockerfile dockerfile: Dockerfile
buildargs:
MOLECULE_DISTRO: docker.io/library/debian:stable
privileged: true privileged: true
systemd: always systemd: always
command: /usr/sbin/init command: /usr/sbin/init
@@ -21,6 +23,8 @@ platforms:
image: docker.io/library/debian:oldstable image: docker.io/library/debian:oldstable
pre_build_image: false pre_build_image: false
dockerfile: Dockerfile dockerfile: Dockerfile
buildargs:
MOLECULE_DISTRO: docker.io/library/debian:oldstable
privileged: true privileged: true
systemd: always systemd: always
command: /usr/sbin/init command: /usr/sbin/init
@@ -29,6 +33,8 @@ platforms:
image: docker.io/library/ubuntu:latest image: docker.io/library/ubuntu:latest
pre_build_image: false pre_build_image: false
dockerfile: Dockerfile dockerfile: Dockerfile
buildargs:
MOLECULE_DISTRO: docker.io/library/ubuntu:latest
privileged: true privileged: true
systemd: always systemd: always
command: /usr/sbin/init command: /usr/sbin/init
@@ -37,6 +43,8 @@ platforms:
image: docker.io/library/ubuntu:jammy image: docker.io/library/ubuntu:jammy
pre_build_image: false pre_build_image: false
dockerfile: Dockerfile dockerfile: Dockerfile
buildargs:
MOLECULE_DISTRO: docker.io/library/ubuntu:jammy
privileged: true privileged: true
systemd: always systemd: always
command: /usr/sbin/init command: /usr/sbin/init