-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
25 lines (19 loc) · 1.21 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.PHONY: help
help: ## Show this help.
@egrep '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-22s\033[0m %s\n", $$1, $$2}'
.PHONY: build-server-arm
build-server-arm: ## Build server Docker image (ARM architecture).
docker buildx build -t franzdiebold/datascience-ultimate-server:latest --platform=linux/arm64 datascience-ultimate-server/
.PHONY: build-server-amd
build-server-amd: ## Build server Docker image (X86 architecture).
docker buildx build -t franzdiebold/datascience-ultimate-server:latest --platform=linux/amd64 datascience-ultimate-server/
.PHONY: build-lab-arm
build-lab-arm: ## Build JupyterLab Docker image (ARM architecture).
docker buildx build -t franzdiebold/datascience-ultimate:latest --platform=linux/arm64 datascience-ultimate/
.PHONY: build-lab-amd
build-lab-amd: ## Build JupyterLab Docker image (X86 architecture).
docker buildx build -t franzdiebold/datascience-ultimate:latest --platform=linux/amd64 datascience-ultimate/
.PHONY: build-arm
build-arm: build-server-arm build-lab-arm ## Build all Docker images (ARM architecture).
.PHONY: build-amd
build-amd: build-server-amd build-lab-amd ## Build all Docker images (X86 architecture).