Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 730 Bytes

Readme.rst

File metadata and controls

23 lines (13 loc) · 730 Bytes

Docker Build and Push

Provides a make docker_build target that builds your image locally.

Provides a make dockerhub_push target that pushes your final image to Dockerhub.

The Dockerhub image will tagged <REPOSITORY>:<GIT COMMIT SHA>

If git head has a git tag, the Dockerhub image will also be tagged <IMAGE>:<GIT_TAG>.

To Enable:

Add lyft/docker_build to your boilerplate/update.cfg file.

Add include boilerplate/lyft/docker_build/Makefile in your main Makefile _after your REPOSITORY environment variable

REPOSITORY=<myreponame>
include boilerplate/lyft/docker_build/Makefile

(this ensures the extra Make targets get included in your main Makefile)