Verified Commit 693e2981 authored by Silvio Rhatto's avatar Silvio Rhatto
Browse files

Fix: tests: molecule: podman: switch back to python:bookworm image, but try to...

Fix: tests: molecule: podman: switch back to python:bookworm image, but try to set PATH in order to use the python from the Debian package
parent cc60e606
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ driver:
platforms:
  - name: standalone
    # Use a container with Python pre-installed
    image           : docker.io/debian:bookworm
    image           : docker.io/python:bookworm
    pre_build_image : true
    privileged      : true

@@ -32,7 +32,7 @@ platforms:

  - name: single-distro
    # Use a container with Python pre-installed
    image           : docker.io/debian:bookworm
    image           : docker.io/python:bookworm
    pre_build_image : true
    privileged      : true

@@ -42,7 +42,7 @@ platforms:

  - name: single-pip
    # Use a container with Python pre-installed
    image           : docker.io/debian:bookworm
    image           : docker.io/python:bookworm
    pre_build_image : true
    privileged      : true

@@ -52,10 +52,15 @@ platforms:

  - name: single-repository
    # Use a container with Python pre-installed
    image           : docker.io/debian:bookworm
    image           : docker.io/python:bookworm
    pre_build_image : true
    privileged      : true

    # Container entrypoint
    # A command that keeps the container running
    command: ${MOLECULE_DOCKER_COMMAND:-"sleep infinity"}

provisioner:
  name: ansible
  env:
    PATH: /sbin:/usr/sbin:/bin:/usr/bin