-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
(core): bug with BundlingDockerImage.cp #13273
Closed
bigkraig opened this issue
Feb 25, 2021
· 3 comments
· Fixed by #13318, aws-iot-builder-tools/iot-reference-architectures#1801, aws-samples/keycloak-on-aws#44, aws-samples/keycloak-on-aws#46 or aws-samples/amazon-emr-with-juicefs#80
Closed
(core): bug with BundlingDockerImage.cp #13273
bigkraig opened this issue
Feb 25, 2021
· 3 comments
· Fixed by #13318, aws-iot-builder-tools/iot-reference-architectures#1801, aws-samples/keycloak-on-aws#44, aws-samples/keycloak-on-aws#46 or aws-samples/amazon-emr-with-juicefs#80
Labels
@aws-cdk/core
Related to core CDK functionality
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
needs-triage
This issue or PR still needs to be triaged.
p1
Comments
bigkraig
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Feb 25, 2021
Related to #13152 |
Should be fixed once #12258 (reverted) is redone. |
mergify bot
pushed a commit
that referenced
this issue
Feb 28, 2021
Use the result of a Docker build as code. The runtime code is expected to be located at `/asset` in the image. Also deprecate `BundlingDockerImage` in favor of `DockerImage`. Closes #13273 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
This was referenced Mar 6, 2021
Merged
Closed
Closed
This was referenced Mar 8, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/core
Related to core CDK functionality
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
needs-triage
This issue or PR still needs to be triaged.
p1
BundlingDockerImage.cp uses dockerExec to create a container from the image to cp files out of. dockerExec was modified in #12001 to show the stdout/stderr, which has prevented the stdout from being returned.
I've submitted a PR that fixes the issue #13271
Reproduction Steps
Sample repo to reproduce the issue:
https://github.com/bigkraig/cdk-docker-cp
What did you expect to happen?
cp to copy the file from the image.
What actually happened?
The container id is printed, but not returned to cp to continue.
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: