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

Long filenames not supported by Docker::Image.build_from_dir #474

Open
haines opened this issue Apr 26, 2017 · 1 comment
Open

Long filenames not supported by Docker::Image.build_from_dir #474

haines opened this issue Apr 26, 2017 · 1 comment

Comments

@haines
Copy link

haines commented Apr 26, 2017

RubyGems' TarWriter doesn't support long filenames, which means that we can't use Docker::Image.build_from_dir to build an image that contains files with paths longer than 256 characters or filenames longer than 100 characters.

However, the docker build CLI works for these filenames.

@tlunter
Copy link
Contributor

tlunter commented Apr 26, 2017

@haines unfortunately that's true. I haven't found a solution that works in ruby that supports the PaxHeaders format. If you find a solution, that'd be wonderful, but for now we're stuck with this. I don't think it's appropriate to shell out, etc, to get the tar file in this scenario.

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