Surnet / docker-wkhtmltopdf

wkhtmltopdf for multiple base images
https://hub.docker.com/u/surnet/
MIT License
360 stars 65 forks source link

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

Closed nitinsingh25 closed 1 year ago

nitinsingh25 commented 1 year ago

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