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

regression in master-experimental gateway frontends with older daemons #1327

Closed
scaytrase opened this issue Jan 14, 2020 · 2 comments · Fixed by #1329
Closed

regression in master-experimental gateway frontends with older daemons #1327

scaytrase opened this issue Jan 14, 2020 · 2 comments · Fixed by #1329
Labels
Milestone

Comments

@scaytrase
Copy link

Given a build described here

https://github.com/scaytrase/docker-experimental-syntax-issue

I run make build and receive the following error

 > [1/2] RUN cat /home/www-data/result:
------
failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c cat /home/www-data/result]: unable to find user www-data: no matching entries in passwd fi
le
make: *** [build-usage] Error 1

(could be any command, even RUN echo "" fails the same way)

Rolling back syntax to 20191217-secrets. Any syntax later than this fails with the same error

https://github.com/scaytrase/docker-experimental-syntax-issue/blob/fixed/intermediate/Dockerfile#L1

Makes the build pass and work perfect.

@tonistiigi tonistiigi changed the title unable to find user www-data: no matching entries in passwd file when building images chained to latest master-experimental syntax regression in master-experimental gateway frontends with older daemons Jan 14, 2020
@tonistiigi
Copy link
Member

@hinshun Seems that this broke with #1269 . To test build any dockerfile with #syntax=docker/dockerfile-upstream/master-experimental with Docker 19.03, then run inspect on the resulting image and look at the empty layers in the rootfs field. PTAL

@tonistiigi tonistiigi added this to the v0.7.0 milestone Jan 14, 2020
@hinshun
Copy link
Collaborator

hinshun commented Jan 14, 2020

@tonistiigi Looking into this

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

Successfully merging a pull request may close this issue.

3 participants