Skip to content

Instantly share code, notes, and snippets.

@slightlytyler
Last active November 24, 2018 01:25
Show Gist options
  • Save slightlytyler/1964347090977ca3f6d2af0ba42d4589 to your computer and use it in GitHub Desktop.
Save slightlytyler/1964347090977ca3f6d2af0ba42d4589 to your computer and use it in GitHub Desktop.
Makefile for slightlytyler/docker-ui-demo
GIT_SHA=$(shell git rev-parse HEAD)
TAG=slightlytyler/docker-ui-demo
all: build
build:
docker build -t $(TAG):$(GIT_SHA) . \
&& docker tag $(TAG):$(GIT_SHA) $(TAG):latest
.PHONY: build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment