Skip to content

Commit

Permalink
add DOCKER_BUILDKIT to other e2edev services
Browse files Browse the repository at this point in the history
Signed-off-by: Le Zhang <[email protected]>
  • Loading branch information
LiilyZhang committed Aug 3, 2023
1 parent be83f66 commit d7d6bd0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/docker/fs/hzn/service/cpu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ default: all
all: build run check

build: clean
docker build -t $(DOCKER_HUB_ID)/$(DOCKER_NAME):$(DOCKER_TAG) .
DOCKER_BUILDKIT=0 docker build -t $(DOCKER_HUB_ID)/$(DOCKER_NAME):$(DOCKER_TAG) .

run: stop
docker run -d --name $(DOCKER_NAME) --publish=8347:8347 --volume `pwd`:/outside $(DOCKER_HUB_ID)/$(DOCKER_NAME):$(DOCKER_TAG)
Expand Down
2 changes: 1 addition & 1 deletion test/docker/fs/hzn/service/hello/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ default: build run check

build: clean Dockerfile start.sh server
-docker rmi $(BASE)/$(IMAGE):$(VER)
docker build --no-cache -t $(BASE)/$(IMAGE):$(VER) .
DOCKER_BUILDKIT=0 docker build --no-cache -t $(BASE)/$(IMAGE):$(VER) .

server: server.go
CGO_ENABLED=0 go build server.go
Expand Down
2 changes: 1 addition & 1 deletion test/docker/fs/hzn/service/leaf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ default: all

all: build run check

build:
build: clean
DOCKER_BUILDKIT=0 docker build -t $(DOCKER_HUB_ID)/$(DOCKER_NAME):$(DOCKER_TAG) .

run: stop
Expand Down
2 changes: 1 addition & 1 deletion test/docker/fs/hzn/service/usehello/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ default: build run check

build: Dockerfile start.sh
-docker rmi $(BASE)/$(IMAGE):$(VER)
docker build --no-cache -t $(BASE)/$(IMAGE):$(VER) .
DOCKER_BUILDKIT=0 docker build --no-cache -t $(BASE)/$(IMAGE):$(VER) .

horizonstart:
hzn -v dev service start
Expand Down

0 comments on commit d7d6bd0

Please sign in to comment.