Giter VIP home page Giter VIP logo

Comments (6)

marek-obuchowicz avatar marek-obuchowicz commented on July 3, 2024

Does anything change if you use more specific builder tag? for example:

# syntax = docker/dockerfile:1.0.2-experimental

from docker-sdk.

marek-obuchowicz avatar marek-obuchowicz commented on July 3, 2024

Please also have a look on #33 and make sure that spryker-docker-sdk is cloned into docker directory within the project directory, not next to it.

from docker-sdk.

kfrohwein avatar kfrohwein commented on July 3, 2024

Always the same error if I specify a different dockerfile version.

=> CACHED docker-image://docker.io/docker/dockerfile:1.0.2-experimental@sha256:cbd6491240cc8894d25e366ba83da19df1187f975dc3a5c2f88ce888ca6 0.0s
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: exit code: 1

And it changes nothing if i put the SDK inside of a spryker root.

from docker-sdk.

kfrohwein avatar kfrohwein commented on July 3, 2024

I read some of the issues over at the buildkit repo. If I try to "make" buildkit i get the same error as running the spryker sdk.

hack/binaries
+ progressFlag=
+ '[' '' == true ']'
+ buildkitdTagsFlags=
+ '[' -n '' ']'
+ case $buildmode in
+ binariesDocker
+ mkdir -p bin/tmp
+ export DOCKER_BUILDKIT=1
+ DOCKER_BUILDKIT=1
++ mktemp -t docker-iidfile.XXXXXXXXXX
+ iidfile=/tmp/docker-iidfile.AMeCR2BgLd
++ echo ''
++ cut -d/ -f1
+ target=
+ '[' -z '' ']'
+ target=linux
+ docker build --build-arg BUILDKITD_TAGS= --target binaries-linux --iidfile /tmp/docker-iidfile.AMeCR2BgLd -f ./hack/dockerfiles/test.buildkit.Dockerfile --force-rm .
[+] Building 1.3s (4/4) FINISHED                                                                                                                  
 => [internal] load build definition from test.buildkit.Dockerfile                                                                           0.0s
 => => transferring dockerfile: 12.36kB                                                                                                      0.0s
 => [internal] load .dockerignore                                                                                                            0.0s
 => => transferring context: 49B                                                                                                             0.0s
 => resolve image config for docker.io/docker/dockerfile:1.1-experimental                                                                    1.1s
 => CACHED docker-image://docker.io/docker/dockerfile:1.1-experimental@sha256:888f21826273409b5ef5ff9ceb90c64a8f8ec7760da30d1ffbe6c3e2d323a  0.0s
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: exit code: 1
make: *** [Makefile:4: binaries] Error 1

from docker-sdk.

marek-obuchowicz avatar marek-obuchowicz commented on July 3, 2024

I can't reproduce the issue :| I think that as it also happens with non-spryker project, it might have something to do with your docker installation and/or configuration. I recommend opening an upstream issue in moby/buildkit

from docker-sdk.

kfrohwein avatar kfrohwein commented on July 3, 2024

Thank you will do :)

from docker-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.