Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

instrumentisto/dep-docker-image

Repository files navigation

Dep Docker Image

Build Status Docker Pulls

Status

PROJECT IS CLOSED AND ARCHIVED. NO MAINTAINING WILL BE CONTINUED.

Consider to use Go modules instead.

Supported tags and respective Dockerfile links

What is Dep?

dep is a prototype dependency management tool for Go.

dep is the official experiment, but not yet the official tool. Check out the Roadmap for more on what this means!

Current Status

github.com/golang/dep

How to use this image

Mount your project into correct $GOPATH directory and provide the dep command you require:

docker run --rm -v $(pwd):/go/src/my/pkg/name -w /go/src/my/pkg/name \
    instrumentisto/dep ensure

If you want to preserve dep caches, just mount /go/pkg/dep directory inside container to desired location:

docker run --rm -v $(pwd):/go/src/my/pkg/name -w /go/src/my/pkg/name \
                -v $(pwd)/.caches/dep:/go/pkg/dep \ 
    instrumentisto/dep ensure -update

Image versions

latest

Latest version of dep.

X.Y

Latest version of dep X.Y branch.

X.Y.Z

Concrete X.Y.Z version of dep.

alpine

This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

License

dep itself is licensed under BSD-3-Clause license.

And dep Docker image is licensed under MIT license.

Issues

We can't notice comments in the DockerHub so don't use them for reporting issue or asking question.

If you have any problems with or questions about this image, please contact us through a GitHub issue.