Skip to content

mohitarora/docker-jdk7-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Build Docker image by Packer

How to run

Install Docker and Packer on the machine and execute the following command.

$ packer validate jdk7-base.json
$ packer build -var 'version=v1.0.0' -var 'base-image-version=v1.0.0' jdk7-base.json

Once packer creates a docker container, ansible is used to provision the container. Once container is provisioned an image is created and pushed to docker index.

Ansible

Ansible command that packer runs inside docker container

$ ansible-playbook {{.PlaybookFile}} -c local -i "127.0.0.1,"

About

Repository to build docker jdk7 base image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published