Open FelicianoTech opened 3 years ago
We should include the version of the main software as environment variables for each image. For example, for cimg/python:3.9.0 there could be the environment variables:
cimg/python:3.9.0
CIMG_VERSION=3.9.0 CIMG_VERSION_MINOR=3.9 CIMG_VERSION_MAJOR=3
CIMG_VERSION=3.9.0
CIMG_VERSION_MINOR=3.9
CIMG_VERSION_MAJOR=3
I think we do this in some images but this can/should be standardized across the board.
This is inspired by a CircleCI Discuss post.
This would be great!
We should include the version of the main software as environment variables for each image. For example, for
cimg/python:3.9.0
there could be the environment variables:CIMG_VERSION=3.9.0
CIMG_VERSION_MINOR=3.9
CIMG_VERSION_MAJOR=3
I think we do this in some images but this can/should be standardized across the board.
This is inspired by a CircleCI Discuss post.