15 lines
372 B
Makefile
15 lines
372 B
Makefile
VERSION := 2.11.0-focal
|
|
DOCKERHUB_NAMESPACE ?= d4science
|
|
IMAGE := ${DOCKERHUB_NAMESPACE}/ckan:${VERSION}
|
|
|
|
build:
|
|
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker build -f images/ckan/2.11/Dockerfile.focal --tag ${IMAGE} images/ckan/2.11
|
|
|
|
up:
|
|
cd compose/2.11 && docker compose up -d
|
|
up_build:
|
|
cd compose/2.11 && docker compose up --build -d
|
|
|
|
push: build
|
|
docker push ${IMAGE}
|