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

Explicitly binlink bash and sh to /bin in exported images #2993

Merged
merged 1 commit into from Aug 22, 2017

Conversation

christophermaier
Copy link
Contributor

There appears to be some leaking over of the HAB_BINLINK_DIR
environment variable set in the default studio setup script that
causes /bin/sh to not exist in Docker containers exported by version
0.30.1.

While more work will need to be done to properly insulate things,
explicitly overriding the link destination will get these working now,
unblocking the various people that have encountered this bug.

Fixes #2989

Signed-off-by: Christopher Maier cmaier@chef.io

There appears to be some leaking over of the `HAB_BINLINK_DIR`
environment variable set in the default studio setup script that
causes `/bin/sh` to not exist in Docker containers exported by version
0.30.1.

While more work will need to be done to properly insulate things,
explicitly overriding the link destination will get these working now,
unblocking the various people that have encountered this bug.

Fixes #2989

Signed-off-by: Christopher Maier <cmaier@chef.io>
@thesentinels
Copy link
Contributor

Thanks for the pull request! Here is what will happen next:

  1. Your PR will be reviewed by the maintainers
  2. If everything looks good, one of them will approve it, and your PR will be merged.

Thank you for contributing!

@reset reset merged commit 29b362a into master Aug 22, 2017
@reset reset deleted the cm/let-docker-run branch August 22, 2017 22:34
@reset
Copy link
Collaborator

reset commented Aug 22, 2017

tenor-114765653

@christophermaier christophermaier added Focus: Studio Related to the Habitat Studio (core/hab-studio) component Type: Bug Issues that describe broken functionality and removed A-studio labels Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Focus: Studio Related to the Habitat Studio (core/hab-studio) component Type: Bug Issues that describe broken functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker Export Broken
3 participants