Comments (6)
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.
@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.
from libcompose.
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.
Does anyone have an update?
Or can send me his Gopkg.toml
Please
from libcompose.
6cfd21b#diff-e07f928fd25386d109b941cd8412d2d2
from libcompose.
Related Issues (20)
- Could not parse config for project which was created by the same lib HOT 1
- libcompose library ignoring set log levels HOT 3
- Issue with env_file population. HOT 2
- compose version: "2.0" HOT 1
- Lowercase sirupsen/logrus package import HOT 3
- compose Up fails trying to recreate containers when not needed HOT 6
- Only one network alias created HOT 4
- 'hack' contains two packages in the same directory - breaking some tools HOT 1
- Question: How to use Up() without detached? HOT 4
- No image or build context specified error when using override file
- Is this project dead?
- Volume driver reports as "changed" on second "libcompose up" attempt HOT 3
- Creating a network is slow
- Tie the docker events api into libcompose events
- docker compose file fails with libcompose passes with docker-compose CLI HOT 2
- libcompose differentiating between version 2 and version 2.0
- libcompose fails to create networks for version "2.0" and above
- libcompose build broken HOT 2
- Jenkins marking tests successful when they fail? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcompose.