Makefile: docker image building
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,3 +1,5 @@
|
||||
VERSION := $(shell git describe --always --dirty)
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
npm install
|
||||
@@ -6,3 +8,8 @@ build:
|
||||
.PHONY: run
|
||||
run:
|
||||
npm run start
|
||||
|
||||
.PHONY: images
|
||||
images:
|
||||
docker buildx build --platform linux/arm/v7 -t musicqueue:$(VERSION)-armv7l .
|
||||
docker buildx build --platform linux/amd64 -t musicqueue:$(VERSION)-amd64 .
|
||||
|
||||
Reference in New Issue
Block a user