-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (18 loc) · 981 Bytes
/
Makefile
File metadata and controls
24 lines (18 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Note: these can be overriden on the command line e.g. `make VERSION=2025.12`
VERSION=2025.12
.PHONY: base-amd64 base-arm64 base alapenna alapenna-ghostty
base-amd64:
docker build --push --platform=linux/amd64 -t portainer/dev-toolkit:$(VERSION)-amd64 -f Dockerfile .
base-arm64:
docker build --push --platform=linux/arm64 -t portainer/dev-toolkit:$(VERSION)-arm64 -f Dockerfile .
# Note: buildx sucks for multi-arch: https://skyworkz.nl/blog/multi-arch-docker-image-10x-faster
base: base-amd64 base-arm64
docker manifest create \
portainer/dev-toolkit:$(VERSION) \
portainer/dev-toolkit:$(VERSION)-amd64 \
portainer/dev-toolkit:$(VERSION)-arm64
docker manifest push portainer/dev-toolkit:$(VERSION)
alapenna:
docker build --platform=linux/arm64 -t portainer-dev-toolkit:alapenna -f user-toolkits/alapenna/Dockerfile .
alapenna-ghostty:
docker build --platform=linux/arm64 -t portainer-dev-toolkit:alapenna-ghostty -f user-toolkits/alapenna-ghostty/Dockerfile .