dockerfile: move ARG lines to improve cache hits

This commit is contained in:
Sameer Naik 2020-05-04 10:31:45 +05:30
parent e63965ecc0
commit 3591a46ae7
No known key found for this signature in database
GPG Key ID: C4C50956BD4271B6

View File

@ -1,7 +1,5 @@
FROM ubuntu:bionic-20200219
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION=12.9.4
ENV GITLAB_VERSION=${VERSION} \
@ -63,6 +61,9 @@ COPY assets/runtime/ ${GITLAB_RUNTIME_DIR}/
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh
ARG BUILD_DATE
ARG VCS_REF
LABEL \
maintainer="sameer@damagehead.com" \
org.label-schema.schema-version="1.0" \