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

Custom Image with docker #250

Open
vlnrajesh opened this issue Dec 22, 2016 · 1 comment
Open

Custom Image with docker #250

vlnrajesh opened this issue Dec 22, 2016 · 1 comment

Comments

@vlnrajesh
Copy link

vlnrajesh commented Dec 22, 2016

I already having an container with most of the RUN commands which is getting executed by kitchen-docker/lib/kitchen/driver/docker.rb in addition to test-kitchen required packages.
Since these commands executes after my image layer loaded, it is getting duplicated and making TTL delay.
I would like disable steps such as yum update, installation of packages and so on, optionally I may allow ssh-keys getting created and copied.
Can we add a flag to remove those steps while provisioning new containers for testing on every iteration.

@CpuID
Copy link
Contributor

CpuID commented Aug 7, 2018

+1, we pre-build our images with the chef preinstallation logic etc via a Dockerfile, and want to use the image config param instead of dockerfile, not together.

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

No branches or pull requests

2 participants