Prerequisites
Feature Description
When checking the current container I haven't been able to determine which version I'm running. It would be great if the procedure for building the docker images included these two labels
ARG BUILD_DATE
ARG APP_VERSION
LABEL org.opencontainers.image.created=$BUILD_DATE
LABEL org.opencontainers.image.version=$APP_VERSION
Motivation
That way I'd know how far behind I am from the most recent and I can better evaluate if I should pull a newer image.
Possible Implementation
The docker build command would need to be updated to include
docker build --build-arg BUILD_DATE=$(shell date +"%Y-%m-%dT%H:%M:%S%Z") --build-arg APP_VERSION=${APP_VERSION}
Prerequisites
Feature Description
When checking the current container I haven't been able to determine which version I'm running. It would be great if the procedure for building the docker images included these two labels
ARG BUILD_DATE
ARG APP_VERSION
LABEL org.opencontainers.image.created=$BUILD_DATE
LABEL org.opencontainers.image.version=$APP_VERSION
Motivation
That way I'd know how far behind I am from the most recent and I can better evaluate if I should pull a newer image.
Possible Implementation
The docker build command would need to be updated to include
docker build --build-arg BUILD_DATE=$(shell date +"%Y-%m-%dT%H:%M:%S%Z") --build-arg APP_VERSION=${APP_VERSION}