diff --git a/Dockerfile b/Dockerfile index d18ee3e..12c22b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -223,7 +223,6 @@ ARG PHP_VERSION ARG PHP_SERVER ARG LICENSE="WTFPL" ARG ENV_PORTS="" -ARG GIT_VERSION="$(git -C . show-ref --head --dereference 2>/dev/null|grep ' HEAD' |awk -F' ' '{print $1}')" USER ${USER} WORKDIR /root @@ -241,7 +240,7 @@ LABEL org.opencontainers.image.schema-version="${BUILD_VERSION}" LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdevdocker/archlinux" LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdevdocker/archlinux" LABEL org.opencontainers.image.vcs-type="Git" -LABEL org.opencontainers.image.vcs-ref="${GIT_VERSION}" +LABEL org.opencontainers.image.vcs-ref="${BUILD_VERSION}" LABEL org.opencontainers.image.vcs-url="https://github.com/casjaysdevdocker/archlinux" LABEL org.opencontainers.image.documentation="https://github.com/casjaysdevdocker/archlinux" LABEL com.github.containers.toolbox="false"