mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
Update c/image to v4.0.1 and buildah to 1.11.3
This requires updating all import paths throughout, and a matching buildah update to interoperate. I can't figure out the reason for go.mod tracking github.com/containers/image v3.0.2+incompatible // indirect ((go mod graph) lists it as a direct dependency of libpod, but (go list -json -m all) lists it as an indirect dependency), but at least looking at the vendor subdirectory, it doesn't seem to be actually used in the built binaries. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
20
vendor/github.com/fsouza/go-dockerclient/README.md
generated
vendored
20
vendor/github.com/fsouza/go-dockerclient/README.md
generated
vendored
@@ -26,6 +26,12 @@ feature may get implemented/merged.
|
||||
For new projects, using the official SDK is probably more appropriate as
|
||||
go-dockerclient lags behind the official SDK.
|
||||
|
||||
When using the official SDK, keep in mind that because of how the its
|
||||
dependencies are organized, you may need some extra steps in order to be able
|
||||
to import it in your projects (see
|
||||
[#784](https://github.com/fsouza/go-dockerclient/issues/784) and
|
||||
[moby/moby#28269](https://github.com/moby/moby/issues/28269)).
|
||||
|
||||
## Example
|
||||
|
||||
```go
|
||||
@@ -85,7 +91,8 @@ func main() {
|
||||
|
||||
If using [docker-machine](https://docs.docker.com/machine/), or another
|
||||
application that exports environment variables `DOCKER_HOST`,
|
||||
`DOCKER_TLS_VERIFY`, `DOCKER_CERT_PATH`, you can use NewClientFromEnv.
|
||||
`DOCKER_TLS_VERIFY`, `DOCKER_CERT_PATH`, `DOCKER_API_VERSION`, you can use
|
||||
NewClientFromEnv.
|
||||
|
||||
|
||||
```go
|
||||
@@ -118,12 +125,13 @@ Commited code must pass:
|
||||
Running ``make test`` will check all of these. You can reformat the code with
|
||||
``make fmt``.
|
||||
|
||||
## Vendoring / Modules
|
||||
## Modules
|
||||
|
||||
go-dockerclient supports [dep](https://github.com/golang/dep/) for vendoring
|
||||
and can also be installed as a module. If you're using dep or Go modules, you
|
||||
should be able to pick go-dockerclient releases and get the proper
|
||||
dependencies.
|
||||
go-dockerclient supports Go modules.
|
||||
|
||||
If you're using dep, you can check the [releases
|
||||
page](https://github.com/fsouza/go-dockerclient/releases) for the latest
|
||||
release fully compatible with dep.
|
||||
|
||||
With other vendoring tools, users might need to specify go-dockerclient's
|
||||
dependencies manually.
|
||||
|
||||
Reference in New Issue
Block a user