Skip to content

deploying to dockerhub

Tomo edited this page Jul 27, 2022 · 2 revisions
  1. Start by cloning the repo: git clone https://github.com/dreamfactorysoftware/df-docker-base.git

  2. Checkout a branch: git checkout -b <branch_name>

  3. Make your changes and please provide comments in the file highlighting what has changed.

  4. Add, commit, and push your changes to your branch. Once you're happy merge to develop, and then to master.

  5. Dockerhub no will no longer build an image automatically from github on the free tier. As a result you will need to build it yourself locally. Add a tag, whether preexisting or a new one

docker build -t dreamfactorysoftware/df-base-img:<TAG> . --no-cache 
  1. Push the image to Dockerhub: docker push dreamfactorysoftware/df-base-img:<TAG>
Clone this wiki locally