Skip to content

Commit 3591a46

Browse files
committed
dockerfile: move ARG lines to improve cache hits
1 parent e63965e commit 3591a46

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
FROM ubuntu:bionic-20200219
22

3-
ARG BUILD_DATE
4-
ARG VCS_REF
53
ARG VERSION=12.9.4
64

75
ENV GITLAB_VERSION=${VERSION} \
@@ -63,6 +61,9 @@ COPY assets/runtime/ ${GITLAB_RUNTIME_DIR}/
6361
COPY entrypoint.sh /sbin/entrypoint.sh
6462
RUN chmod 755 /sbin/entrypoint.sh
6563

64+
ARG BUILD_DATE
65+
ARG VCS_REF
66+
6667
LABEL \
6768
maintainer="[email protected]" \
6869
org.label-schema.schema-version="1.0" \

0 commit comments

Comments
 (0)