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

Support image.contents (files outside store) with useHostStore #27

Closed
roberth opened this issue Mar 12, 2019 · 2 comments · Fixed by #117
Closed

Support image.contents (files outside store) with useHostStore #27

roberth opened this issue Mar 12, 2019 · 2 comments · Fixed by #117
Labels
enhancement New feature or request

Comments

@roberth
Copy link
Member

roberth commented Mar 12, 2019

useHostStore currently sets the image to something with /bin/sh and /usr/bin/env symlinks, thus ignoring image.contents.

This can be implemented with a wrapper script (like entrypoint), but that may not run as root.
Otherwise, we should probably generate a small layer anyway with a symlink farm or the single derivation.

@roberth
Copy link
Member Author

roberth commented Jul 22, 2019

contents as in dockerTools: https://nixos.org/nixpkgs/manual/#ex-dockerTools-buildImage-6

@spinus
Copy link

spinus commented Dec 3, 2019

would be nice to have at least an assert for that before feature is implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants