-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
16 lines (12 loc) · 704 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.PHONY: container-image, container-multi-arch-image, push-container-multi-arch-image, dev-image, build
container-image:
docker build -f image/Dockerfile -t httpd-mod-wasm:latest .
container-multi-arch-image:
docker buildx build --progress=plain --platform linux/arm64/v8,linux/amd64 -f image/Dockerfile -t ghcr.io/vmware-labs/httpd-mod-wasm:latest .
push-container-multi-arch-image:
docker buildx build --progress=plain --platform linux/arm64/v8,linux/amd64 -f image/Dockerfile -t ghcr.io/vmware-labs/httpd-mod-wasm:latest --push .
dev-image:
docker build -f image/Dockerfile.dev -t httpd-mod-wasm-dev:latest .
build:
cd ./wasm_runtime && make clean_all && make all
cd ./mod_wasm && ./build.sh