Makefile: docker image building
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,3 +1,5 @@
|
|||||||
|
VERSION := $(shell git describe --always --dirty)
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
npm install
|
npm install
|
||||||
@@ -5,4 +7,9 @@ build:
|
|||||||
|
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
run:
|
run:
|
||||||
npm run start
|
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