From 3591a46ae7878236700a64bdc461a8f1c0602d69 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Mon, 4 May 2020 10:31:45 +0530 Subject: [PATCH] dockerfile: move `ARG` lines to improve cache hits --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8c224686..61cb9560 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" \