Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

molecule config with Docker #1

Open
wants to merge 5 commits into
base: molecule
Choose a base branch
from

Conversation

meowsbits
Copy link

@meowsbits meowsbits commented Apr 2, 2024

  • Ubuntu
  • Debian

Use:

docker build -f Dockerfile.ubuntu -t molecule-ubuntu-20 .
molecule test
docker build -f Dockerfile.ubuntu -t molecule-debian-bullseye .

# Replace the docker image in the molecule config.
sed -i 's/molecule-ubuntu-20/molecule-debian-bullseye/' molecule/molecule.yml

molecule test

Config sourced from here:
geerlingguy/docker-ubuntu2004-ansible#18 (comment)

diega and others added 5 commits April 1, 2024 20:10
Use:
docker build -t molecule-debian-bookworm .
molecule test

It works to use the Ubuntu base image
in the Dockerfile, too.

geerlingguy/docker-ubuntu2004-ansible#18 (comment)
That's where I got the config from.

Signed-off-by: meows <[email protected]>
Date: 2024-04-02 10:25:56-06:00
Signed-off-by: meows <[email protected]>
Date: 2024-04-02 10:39:49-06:00
Signed-off-by: meows <[email protected]>
@diega diega force-pushed the molecule branch 4 times, most recently from 0e354ab to 01bcd26 Compare April 2, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants