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

Getting no such file exist error while building docker with file Dockerfile_3.16.0-0.12.6-small #36

Closed
nitinsingh25 opened this issue Feb 15, 2023 · 0 comments

Comments

@nitinsingh25
Copy link

alpine-wkhtmltopdf git:(master) docker buildx build . -f Dockerfile_3.16.0-0.12.6-small --platform linux/amd64 --progress=plain --tag nitin:wkhtml
#1 [internal] load build definition from Dockerfile_3.16.0-0.12.6-small
#1 transferring dockerfile: 4.18kB done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/alpine:3.16.0
#3 ...

#4 [builder 1/5] FROM docker.io/library/alpine:3.16.0@sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c
#4 CACHED

#5 [builder 2/5] RUN mkdir -p /tmp/patches
#5 CACHED

#6 [internal] load build context
#6 transferring context: 2B done
#6 DONE 0.0s

#7 [builder 3/5] COPY conf/* /tmp/patches/
#7 ERROR: lstat /var/lib/docker/tmp/buildkit-mount4112552787/conf: no such file or directory

#3 [internal] load metadata for docker.io/library/alpine:3.16.0
#3 ...

#8 [stage-1 2/3] RUN apk add --no-cache libstdc++ libx11 libxrender libxext libssl1.1 ca-certificates fontconfig freetype ttf-dejavu ttf-droid ttf-freefont ttf-liberation && apk add --no-cache --virtual .build-deps msttcorefonts-installer && update-ms-fonts && fc-cache -f && rm -rf /tmp/* && apk del .build-deps
#0 0.196 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
#8 CANCELED

#3 [internal] load metadata for docker.io/library/alpine:3.16.0

[builder 3/5] COPY conf/* /tmp/patches/:


ERROR: failed to solve: lstat /var/lib/docker/tmp/buildkit-mount4112552787/conf: no such file or directory

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

1 participant