Skip to content

Commit 559d126

Browse files
committed
fix: remove docker name prefix
1 parent 256ccee commit 559d126

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Name of the Docker container
22
DOCKER_IMAGE=node:22-slim
3-
VIS_DOCKER_IMAGE_NAME_PREFIX=ghcr.io/local-connectivity-lab
43
VIS_DOCKER_IMAGE_NAME=ccn-coverage-vis
54
include .env
65

@@ -18,7 +17,7 @@ clean:
1817
build-test:
1918
@echo "Create test docker container for $(VIS_DOCKER_IMAGE_NAME)"
2019

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 .
2221

2322
# Validate semantic version format
2423
validate-semver-%:
@@ -31,12 +30,12 @@ validate-semver-%:
3130
.PHONY: build
3231
build:
3332
@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 .
3534

3635
# Build with specific version (e.g., make build-1.2.3)
3736
build-%: validate-semver-%
3837
@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 .
4039

4140

4241
# The target for development

0 commit comments

Comments
 (0)