Skip to content

Commit 86608cd

Browse files
committed
Update build-test-oss-image and build-test-plus-image make targets to take into account the OS type
1 parent 7bc297c commit 86608cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ build-test-nginx-plus-and-nap-image:
205205
.PHONY: build-test-plus-image
206206
build-test-plus-image:
207207
$(CONTAINER_BUILDENV) $(CONTAINER_CLITOOL) build -t nginx_plus_$(IMAGE_TAG) . \
208-
--no-cache -f ./test/docker/nginx-plus/deb/Dockerfile \
208+
--no-cache -f ./test/docker/nginx-plus/$(CONTAINER_OS_TYPE)/Dockerfile \
209209
--secret id=nginx-crt,src=$(CERTS_DIR)/nginx-repo.crt \
210210
--secret id=nginx-key,src=$(CERTS_DIR)/nginx-repo.key \
211211
--build-arg PACKAGE_NAME=$(PACKAGE_NAME) \
@@ -216,7 +216,7 @@ build-test-plus-image:
216216
.PHONY: build-test-oss-image
217217
build-test-oss-image:
218218
$(CONTAINER_BUILDENV) $(CONTAINER_CLITOOL) build -t nginx_oss_$(IMAGE_TAG) . \
219-
--no-cache -f ./test/docker/nginx-oss/deb/Dockerfile \
219+
--no-cache -f ./test/docker/nginx-oss/$(CONTAINER_OS_TYPE)/Dockerfile \
220220
--target install-agent-local \
221221
--build-arg PACKAGE_NAME=$(PACKAGE_NAME) \
222222
--build-arg PACKAGES_REPO=$(OSS_PACKAGES_REPO) \

0 commit comments

Comments
 (0)