From 2c1712700c8e65b94fe4481afd248f4d30defc88 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 10 Mar 2020 23:20:54 -0600 Subject: [PATCH] move version label for faster build, bump version --- build/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index afd8045..44c040f 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -34,7 +34,6 @@ LABEL org.label-schema.schema-version="1.0" LABEL org.label-schema.url="https://git.asifbacchus.app/ab-docker/ab-nginx" LABEL org.label-schema.usage="https://git.asifbacchus.app/ab-docker/ab-nginx/wiki" LABEL org.label-schema.vcs-url="https://git.asifbacchus.app/ab-docker/ab-nginx.git" -LABEL org.label-schema.version="2.0" # copy configuration files COPY entrypoint.sh /entrypoint.sh @@ -68,6 +67,7 @@ ENTRYPOINT [ "/entrypoint.sh" ] # run NGINX by default CMD [ "nginx", "-g", "daemon off;" ] -# add build date label +# add build date and version labels ARG BUILD_DATE LABEL org.label-schema.build-date=${BUILD_DATE} +LABEL org.label-schema.version="2.1"