2024-09-18 16:51:09 +02:00
|
|
|
VERSION := 2.11.0-focal
|
2024-08-19 18:12:55 +02:00
|
|
|
DOCKERHUB_NAMESPACE ?= d4science
|
2024-07-25 13:07:17 +02:00
|
|
|
IMAGE := ${DOCKERHUB_NAMESPACE}/ckan:${VERSION}
|
|
|
|
|
|
|
|
build:
|
2024-09-18 16:51:09 +02:00
|
|
|
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker build -f images/ckan/2.11/Dockerfile.focal --tag ${IMAGE} images/ckan/2.11
|
2024-08-19 18:12:55 +02:00
|
|
|
|
|
|
|
up:
|
2024-09-18 16:51:09 +02:00
|
|
|
cd compose/2.11 && docker compose up -d
|
2024-08-20 14:56:22 +02:00
|
|
|
up_build:
|
2024-09-18 16:51:09 +02:00
|
|
|
cd compose/2.11 && docker compose up --build -d
|
2024-07-25 13:07:17 +02:00
|
|
|
|
|
|
|
push: build
|
|
|
|
docker push ${IMAGE}
|