make container build work

This commit is contained in:
Abel Luck 2023-11-06 09:13:21 +01:00
parent 12f55ad721
commit 1fcb035fce
6 changed files with 15 additions and 9 deletions

View file

@ -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 \
.