-
Notifications
You must be signed in to change notification settings - Fork 34
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
feat: add a "stacker convert" to convert a Dockerfile #349
Conversation
61ad5c4
to
7df4544
Compare
Surprisingly, breaks here not ok 30 bind rebuilds (in test file test/caching.bats, line 151)`out=$(stacker build --substitute bind_path=${bind_path} --substitute CENTOS_OCI=$CENTOS_OCI)' failed |
and not here: |
552fbff
to
21f724c
Compare
4b5c4b2
to
6bde6ab
Compare
Lookup2: name:bind-test cache:map[]TEST (binds): 1 [{/home/runner/work/stacker/stacker/stackertest-test_bind_rebuilds.78LQ7s/tree2/foo /root/tree2/foo}] hit: false |
4a7bb17
to
78da872
Compare
5077952
to
dfde64f
Compare
4fe2bb9
to
352bec5
Compare
alpine/edge gcc was updated with this recently. Fails spectacularly ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few questions below.
04a1d7f
to
6861dee
Compare
Start with a subset of Dockerfile grammar. (syntax version 1) """ stacker help convert help convert NAME: stacker-dynamic convert - converts a Dockerfile into a stacker yaml file USAGE: stacker-dynamic convert [command options] [arguments...] OPTIONS: --docker-file value, -i value the input Dockerfile (default: "Dockerfile") --output-file value, -o value the output stacker file (default: "stacker.yaml") --substitute-file value, -s value the output file containing detected substitutions (default: "stacker-subs.yaml") """ Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
https://docs.docker.com/engine/reference/builder/
`
stacker help convert
help convert
NAME:
stacker-dynamic convert - converts a Dockerfile into a stacker yaml
file
USAGE:
stacker-dynamic convert [command options] [arguments...]
OPTIONS:
--Dockerfile value, -f value the input Dockerfile (default: "Dockerfile")
`
Signed-off-by: Ramkumar Chinchani rchincha@cisco.com
What type of PR is this?
Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:
Automation added to e2e:
Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.