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
Dockerfile become truncated in certain circumstances #7112
Comments
thanks for reporting this issue with clear reproduction sample and initial investigation on breaking conditions. I'll investigate this issue next week |
As a workaround, you can enable native CLI builder by setting |
issue (afaict) is caused by https://github.com/docker/docker-py/blob/master/docker/utils/build.py#L107-L109 tar size is computed as |
Close docker/compose#7112 Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Close docker/compose#7112 Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it had not recent activity during the stale period. |
Description of the issue
conditions
result:
On
docker-compose build
Dockerfile truncated by amount of cyrillic symbols in it.For example, if I got 7 cyrillic symbols in the Dockerfile last 7 symbols of the end of file become "cutted off".
Context information (for bug reports)
Output of
docker-compose version
Output of
docker version
Output of
docker-compose config
Steps to reproduce the issue
Create
context
(empty) directory,docker-compose.yml
andDockerfile
docker-compose.yml
Dockerfile
Run
docker-compose build test-fail
Observed result
The string
h test\n
(7 symbols) was disappeared.This problem doesn't appear if the Dockerfile is in the context folder (look at the test-pass service).
This problem doesn't appear by using
docker build
.Expected result
Expected result is succesfully created image, like by using
docker build
:Stacktrace / full error message
The text was updated successfully, but these errors were encountered: