mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2025-07-23 00:28:52 +00:00
makefile: add buildargs to build commands
This commit is contained in:
8
Makefile
8
Makefile
@ -11,10 +11,14 @@ help:
|
|||||||
@echo " 5. make purge - stop and remove the container"
|
@echo " 5. make purge - stop and remove the container"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@docker build --tag=sameersbn/gitlab .
|
@docker build --tag=sameersbn/gitlab . \
|
||||||
|
--build-arg BUILD_DATE="$(shell date +"%Y-%m-%d %H:%M:%S%:z")" \
|
||||||
|
--build-arg VCS_REF=$(shell git rev-parse --short HEAD)
|
||||||
|
|
||||||
release: build
|
release: build
|
||||||
@docker build --tag=sameersbn/gitlab:$(shell cat VERSION) .
|
@docker build --tag=sameersbn/gitlab:$(shell cat VERSION) . \
|
||||||
|
--build-arg BUILD_DATE="$(shell date +"%Y-%m-%d %H:%M:%S%:z")" \
|
||||||
|
--build-arg VCS_REF=$(git describe --tags --always)
|
||||||
|
|
||||||
quickstart:
|
quickstart:
|
||||||
@echo "Starting postgresql container..."
|
@echo "Starting postgresql container..."
|
||||||
|
Reference in New Issue
Block a user