Official HC fork of Docker's official images repository.
Initial setup:
- Clone this repository with
git clone git@github.com:hashicorp/docker-official-images.git
- Add the official Docker repository this is forked from as a new
upstream
remote withgit remote add upstream https://github.com/docker-library/official-images
When making a new PR:
- Run
git remote update
, thengit checkout upstream/master
to base your changes off the upstream master to avoid conflicts. - Create a new release(s)-specific branch such as
git checkout -b consul-1.14.6-1.15.2
- Update the appropriate images with new versions and commit SHAs (example). The SHA should be the commit made for the corresponding version in hashicorp/docker-consul.
- Commit your changes and push the branch to the HashiCorp repo with
git push origin ${BRANCH}
- Open a pull request against
https://github.com/docker-library/official-images
to update the official image from the new branch in our fork. (Clicking theNew Pull Request
button for your branch on https://github.com/hashicorp/docker-official-images/branches will set the upstream Docker repository as base by default.)