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