mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2025-07-20 16:47:42 +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"
|
||||
|
||||
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
|
||||
@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:
|
||||
@echo "Starting postgresql container..."
|
||||
|
Reference in New Issue
Block a user