This Docker image is used with CircleCI 2.0 to build other Docker images.
It is based on the official alpine
Docker image.
- curl
- docker
- git
- openssh
- tar
- sed
When you make a change, please update the CHANGELOG.md
file.
Only contributors can release new versions.
In order to release a new version, you must have Docker running locally. It is
easiest if you are using a tool like Docker Machine, but as long as you are able
to run the docker
commands, everything is good.
Releasing a new version involves two steps: building and pushing. To build the
new image, you issue a build command with the appropriate tag. The tag follows
the format timberio/docker-builder:$(version)
.
The $(version)
should be the current version number. The version number should
be incremented based on Semantic Versioning
specifications.
To build the new image, use the following command from the directory:
docker build -t TAG ./
replacing TAG with the appropriate tag. Once the image has successfully built, you can push the image to the repository using the following command:
docker push TAG
replacing TAG with the appropriate tag. Note that in order to do this you must be logged in and have write permissions on the timberio/docker-builder image in DockerHub.