docker-ckan/Makefile

15 lines
381 B
Makefile

VERSION := 2.10.4-focal
DOCKERHUB_NAMESPACE ?= d4science
IMAGE := ${DOCKERHUB_NAMESPACE}/ckan:${VERSION}
build:
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker build --tag ${IMAGE} images/ckan/2.10
up:
cd compose/2.10 && docker compose --env-file .docker.env up -d
up_build:
cd compose/2.10 && docker compose --env-file .docker.env up --build -d
push: build
docker push ${IMAGE}