Skip to content

A small docker container running molecule for testing with python 3.6 on alpine linux

Notifications You must be signed in to change notification settings

bringmeister/docker-ansible-molecule

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Automated build Docker Build Status Pulls on Docker Hub Open Issues

Running Molecule in Docker

A minimal docker container to run molecule tests in CI e.g. Jenkins based on a small python 3.6 alpine image.

Usage

docker run --rm -v $PWD/:/home/myuser/ansible-role-name -v /var/run/docker.sock:/var/run/docker.sock hendrik44/docker-ansible-molecule

To be able to git clone private repos mount the ssh-key like this: docker run --rm -v $PWD/:/home/myuser/ansible-role-name -v /var/run/docker.sock:/var/run/docker.sock -v ~/.ssh/id_rsa:/root/.ssh/id_rsa:ro hendrik44/docker-ansible-molecule

About

A small docker container running molecule for testing with python 3.6 on alpine linux

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 96.0%
  • Shell 4.0%