docker-ckan/Makefile

10 lines
236 B
Makefile
Raw Normal View History

VERSION := $(shell git describe --tags --exact-match 2>/dev/null || echo latest)
DOCKERHUB_NAMESPACE ?= keitaro
IMAGE := ${DOCKERHUB_NAMESPACE}/ckan:${VERSION}
build:
docker build -t ${IMAGE} rootfs
push: build
docker push ${IMAGE}