Code Monkey home page Code Monkey logo

Comments (6)

ksinica avatar ksinica commented on September 13, 2024 4

You can try to add the following constraint to Gopkg.toml (since you're using dep):

[[override]]
  name = "github.com/xeipuuv/gojsonschema"
  revision = "0c8571ac0ce161a5feb57375a9cdf148c98c0f70"

0c8571ac0ce161a5feb57375a9cdf148c98c0f70 is just before xeipuuv/gojsonschema@90a5d08 which is a breaking change.

from libcompose.

ryanmiville avatar ryanmiville commented on September 13, 2024

@the-destro Not sure if you found a workaround, but in the meantime, I got around the issue by clearing out my vendor directory, running go get github.com/docker/libcompose and copying from my $GOPATH/src into my vendor directory. I'm very new to Go so there's probably a better answer.

from libcompose.

the-destro avatar the-destro commented on September 13, 2024

from libcompose.

SeriyBg avatar SeriyBg commented on September 13, 2024

I'm trying to use libcompose v0.4.0 inside of a go module project and getting the same errors.
To resolve the gojsonschema.FormatChecker error I have run go get -v github.com/xeipuuv/gojsonschema@0c8571a which set the right revision to my dependencies.
But now I'm still having the following ones:

# github.com/docker/libcompose/docker/builder
../../../go/pkg/mod/github.com/docker/[email protected]/docker/builder/builder.go:99:3: cannot use d.BuildArgs (type map[string]string) as type map[string]*string in field value
# github.com/docker/libcompose/docker/volume
../../../go/pkg/mod/github.com/docker/[email protected]/docker/volume/volume.go:72:39: undefined: types.VolumeCreateRequest
# github.com/docker/libcompose/docker/container
../../../go/pkg/mod/github.com/docker/[email protected]/docker/container/functions.go:27:3: unknown field 'Filter' in struct literal of type types.ContainerListOptions

I cannot find which version of github.com/docker/docker should I use. Can somebody help me?

from libcompose.

thecampagnards avatar thecampagnards commented on September 13, 2024

Does anyone have an update?

Or can send me his Gopkg.toml
Please

from libcompose.

ajmoorexyz avatar ajmoorexyz commented on September 13, 2024

6cfd21b#diff-e07f928fd25386d109b941cd8412d2d2

from libcompose.

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.