mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-10 21:19:26 +02:00
base: Optimize image build adding only image and vcs_url metatdata
To avoid dependent images to systematically rebuild, this commit adds only "static" metatdata to the base image
This commit is contained in:
2
Makefile
2
Makefile
@ -98,9 +98,7 @@ Dockerfile: Dockerfile.in common.docker
|
||||
base: Dockerfile imagefiles/
|
||||
$(DOCKER) build -t $(ORG)/base \
|
||||
--build-arg IMAGE=$(ORG)/base \
|
||||
--build-arg VCS_REF=`git rev-parse --short HEAD` \
|
||||
--build-arg VCS_URL=`git config --get remote.origin.url` \
|
||||
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
|
||||
.
|
||||
|
||||
base.test: base
|
||||
|
Reference in New Issue
Block a user