make container build work
This commit is contained in:
parent
12f55ad721
commit
1fcb035fce
6 changed files with 15 additions and 9 deletions
3
Makefile
3
Makefile
|
|
@ -3,9 +3,10 @@ SRC := tailscalesd
|
|||
TESTS := tests
|
||||
SHELL := $(shell which bash)
|
||||
APP_VERSION := $(shell git rev-parse --short HEAD)
|
||||
DOCKER ?= docker
|
||||
|
||||
docker-build:
|
||||
DOCKER_BUILDKIT=1 docker build -f docker/Dockerfile \
|
||||
DOCKER_BUILDKIT=1 $(DOCKER) build -f docker/Dockerfile \
|
||||
--build-arg=$(APP_VERSION) \
|
||||
-t tailscalesd:latest \
|
||||
.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue