Fixing loading in docker environment, updated markers

This commit is contained in:
2025-04-11 13:36:59 -04:00
parent 98887d7fef
commit ecd01bd49c
14 changed files with 282 additions and 186 deletions

View File

@@ -93,5 +93,19 @@ docker-up: ## Start the docker container
docker-refresh: docker-clean up-backend ## Refresh the database
docker-build: ## Build the docker images
@docker compose --profile backend --profile api build
refresh: docker-refresh
build: version=$(if $(v),$(v),latest)
build: folder=$(if $(f),$(f),httpd)
build: image=aviation-${folder}:${version}
build: ## Build a specific docker image (`make build f=httpd`)
docker buildx build \
-f ${folder}/Dockerfile \
-t ${image} \
--load \
--build-arg BUILD_DATE=$$(date -u +'%Y-%m-%dT%H:%M:%SZ') \
--build-arg BUILD_VERSION=${version} \
--build-arg VCS_REF=$$(git rev-parse head) \
${folder}
docker-build: build