File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,14 @@ help:
11
11
@echo " 5. make purge - stop and remove the container"
12
12
13
13
build :
14
- @docker build --tag=sameersbn/gitlab .
14
+ @docker build --tag=sameersbn/gitlab . \
15
+ --build-arg BUILD_DATE=" $( shell date +" %Y-%m-%d %H:%M:%S%:z" ) " \
16
+ --build-arg VCS_REF=$(shell git rev-parse --short HEAD)
15
17
16
18
release : build
17
- @docker build --tag=sameersbn/gitlab:$(shell cat VERSION) .
19
+ @docker build --tag=sameersbn/gitlab:$(shell cat VERSION) . \
20
+ --build-arg BUILD_DATE=" $( shell date +" %Y-%m-%d %H:%M:%S%:z" ) " \
21
+ --build-arg VCS_REF=$(git describe --tags --always )
18
22
19
23
quickstart :
20
24
@echo " Starting postgresql container..."
Original file line number Diff line number Diff line change @@ -137,14 +137,6 @@ rm -rf ${GITLAB_GITALY_BUILD_DIR}
137
137
# remove go
138
138
rm -rf ${GITLAB_BUILD_DIR} /go${GOLANG_VERSION} .linux-amd64.tar.gz ${GOROOT}
139
139
140
- # Fix for rebase in forks
141
- echo " Linking $( command -v gitaly-ssh) to /"
142
- ln -s " $( command -v gitaly-ssh) " /
143
-
144
- # Fix for gitaly-hooks
145
- echo " Linking $( command -v gitaly-hooks) to /"
146
- ln -s " $( command -v gitaly-hooks) " /
147
-
148
140
# remove HSTS config from the default headers, we configure it in nginx
149
141
exec_as_git sed -i " /headers\['Strict-Transport-Security'\]/d" ${GITLAB_INSTALL_DIR} /app/controllers/application_controller.rb
150
142
You can’t perform that action at this time.
0 commit comments