Use makefile in building for the docker container
This commit is contained in:
6
Makefile
6
Makefile
@@ -5,9 +5,9 @@ GO ?= go
|
||||
PKG := $(shell go list ./...)
|
||||
BINARY_NAME = zurg
|
||||
BUILD_DIR = ./cmd/$(BINARY_NAME)
|
||||
VERSION := $(shell git describe --tags)
|
||||
COMMIT := $(shell git rev-parse HEAD)
|
||||
BUILT_AT := $(shell date +%Y-%m-%dT%H:%M:%SZ)
|
||||
VERSION ?= $(shell git describe --tags)
|
||||
COMMIT ?= $(shell git rev-parse HEAD)
|
||||
BUILT_AT ?= $(shell date +%Y-%m-%dT%H:%M:%SZ)
|
||||
|
||||
# Default target: build
|
||||
all: build
|
||||
|
||||
Reference in New Issue
Block a user