-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Makefile
21 lines (14 loc) · 845 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
all: build_app build_go
build_app:
docker build --pull -t umputun/baseimage:app-latest base.alpine -f base.alpine/Dockerfile
build_app_multi:
docker buildx build --platform linux/amd64,linux/arm/v7,linux/arm64 --pull -t umputun/baseimage:app-latest base.alpine -f base.alpine/Dockerfile
build_go:
docker build --pull -t umputun/baseimage:buildgo-latest build.go -f build.go/Dockerfile
build_go_multi:
docker buildx build --platform linux/amd64,linux/arm/v7,linux/arm64 --pull -t umputun/baseimage:buildgo-latest build.go -f build.go/Dockerfile
build_scratch:
docker build --pull -t umputun/baseimage:scratch-latest build.go -f base.scratch/Dockerfile
build_scratch_multi:
docker buildx build --platform linux/amd64,linux/arm/v7,linux/arm64 --pull -t umputun/baseimage:scratch-latest build.go -f base.scratch/Dockerfile
.PHONY: all