Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Move Dockerfiles to decred/dcrdocker repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcvernaleo authored and davecgh committed Jul 3, 2017
1 parent 5503eff commit be12e06
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 115 deletions.
51 changes: 0 additions & 51 deletions Dockerfile-1.7

This file was deleted.

51 changes: 0 additions & 51 deletions Dockerfile-1.8

This file was deleted.

13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,6 @@ To run the tests locally without docker:
./run_tests.sh local
```

### Updating docker go versions

When a new minor version of go is released, the docker images must be updated and rebuilt to support it. For example, when go1.8.3 was released, the file `Dockerfile-1.8` was edited by changing `FROM golang:1.8.2` to `FROM golang:1.8.3`. Then the image was rebuilt and pushed to docker hub:
```
GOVERSION=1.8
DOCKER_IMAGE_TAG=decred-golang-builder-$GOVERSION
docker build -t $DOCKER_IMAGE_TAG -f ./Dockerfile-$GOVERSION .
docker tag $DOCKER_IMAGE_TAG decred/$DOCKER_IMAGE_TAG
docker push decred/$DOCKER_IMAGE_TAG
```

For a new major version, a new file `Dockerfile-VERSION` must be created and then the previous steps can be followed. That new version must be added to the travis build matrix to run the tests in travis.

## Contact

If you have any further questions you can find us at:
Expand Down

0 comments on commit be12e06

Please sign in to comment.