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

Buildkit Error #19

Open
DUCKCHI opened this issue Jan 5, 2022 · 0 comments
Open

Buildkit Error #19

DUCKCHI opened this issue Jan 5, 2022 · 0 comments

Comments

@DUCKCHI
Copy link

DUCKCHI commented Jan 5, 2022

If you try to build using 'make up', the following error occurs.

=> [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 38B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 34B 0.0s => resolve image config for docker.io/docker/dockerfile:1.2 2.1s => CACHED docker-image://docker.io/docker/dockerfile:1.2@sha256:e2a8561e 0.0s
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = failed to create LLB definition: base name (${BUILD_METHOD}) should not be blank

To solve this problem, the following error occurs when the BUILDKIT option is set to 0 in 'Makefile' and rebuilt.

Step 17/67 : RUN --mount=type=cache,target=/var/cache/apk/ apk add --virtual build-deps autoconf automake bash bsd-compat-headers build-base cmake fuse-dev git gzip intltool jansson-dev libarchive-dev libjpeg-turbo-dev libtool libxml2-dev libxslt-dev mariadb mariadb-dev oniguruma-dev openssl-dev sqlite-dev zlib-dev

the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled ERROR: Service 'seafile' failed to build : Build failed

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