Skip to content

Commit 1dea2ed

Browse files
authored
Merge pull request #248 from dhiltgen/buildtime_master
Make sure buildtime is always set
2 parents 869920b + 6c7d226 commit 1dea2ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

image/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ ENGINE_IMAGE?=engine-community
1212
CHOWN:=docker run --rm -v $(CURDIR):/v -w /v alpine chown
1313
DEFAULT_PRODUCT_LICENSE?=Community Engine
1414
PLATFORM?=Docker Engine - Community
15+
BUILDTIME?=$(shell date -u -d "@$${SOURCE_DATE_EPOCH:-$$(date +%s)}" --rfc-3339 ns 2> /dev/null | sed -e 's/ /T/')
1516
IMAGE_WITH_TAG=$(DOCKER_HUB_ORG)/$(ENGINE_IMAGE):$(STATIC_VERSION)
1617
ifdef BASE_IMAGE
1718
# TODO: Clean this up to only set ENGINE_GO_IMAGE

0 commit comments

Comments
 (0)