File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Name of the Docker container
2
2
DOCKER_IMAGE =node:22-slim
3
- VIS_DOCKER_IMAGE_NAME_PREFIX =ghcr.io/local-connectivity-lab
4
3
VIS_DOCKER_IMAGE_NAME =ccn-coverage-vis
5
4
include .env
6
5
18
17
build-test :
19
18
@echo " Create test docker container for $( VIS_DOCKER_IMAGE_NAME) "
20
19
21
- docker build --build-arg NGINX_CONFIG="local-nginx.conf" -t $(VIS_DOCKER_IMAGE_NAME_PREFIX)/$( VIS_DOCKER_IMAGE_NAME) -f vis.dockerfile .
20
+ docker build --build-arg NGINX_CONFIG="local-nginx.conf" -t $(VIS_DOCKER_IMAGE_NAME) -f vis.dockerfile .
22
21
23
22
# Validate semantic version format
24
23
validate-semver-% :
@@ -31,12 +30,12 @@ validate-semver-%:
31
30
.PHONY : build
32
31
build :
33
32
@echo " Create docker container for $( VIS_DOCKER_IMAGE_NAME) "
34
- docker build -t $(VIS_DOCKER_IMAGE_NAME_PREFIX ) / $( VIS_DOCKER_IMAGE_NAME ) -f vis.dockerfile .
33
+ docker build -t $(VIS_DOCKER_IMAGE_NAME ) -f vis.dockerfile .
35
34
36
35
# Build with specific version (e.g., make build-1.2.3)
37
36
build-% : validate-semver-%
38
37
@echo " Create docker container for $( VIS_DOCKER_IMAGE_NAME) with version $* "
39
- docker build -t $(VIS_DOCKER_IMAGE_NAME_PREFIX ) / $( VIS_DOCKER_IMAGE_NAME ) :$* -f vis.dockerfile .
38
+ docker build -t $(VIS_DOCKER_IMAGE_NAME ) :$* -f vis.dockerfile .
40
39
41
40
42
41
# The target for development
You can’t perform that action at this time.
0 commit comments