Getting started

This commit is contained in:
Matt Robenolt committed 2016-02-11 13:52:19 -08:00
1 parent 7c1cc60eeb
commit 7ca8ae71e9
5 files changed
+93

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
REPOSITORY=sentry-onpremise
TAG=latest
OK_COLOR=\033[32;01m
NO_COLOR=\033[0m
build:
@echo "$(OK_COLOR)==>$(NO_COLOR) Building $(REPOSITORY):$(TAG)"
@docker build --rm -t $(REPOSITORY):$(TAG) .
$(REPOSITORY)_$(TAG).tar: build
@echo "$(OK_COLOR)==>$(NO_COLOR) Saving $(REPOSITORY):$(TAG) > $@"
@docker save $(REPOSITORY):$(TAG) > $@
all: build $(REPOSITORY)_$(TAG).tar
.PHONY: build all