Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image version number environment variable #10

Closed
curtisma opened this issue Apr 23, 2023 · 1 comment
Closed

Docker image version number environment variable #10

curtisma opened this issue Apr 23, 2023 · 1 comment
Assignees

Comments

@curtisma
Copy link

curtisma commented Apr 23, 2023

Is your feature request related to a problem? Please describe.

It can be hard to tell which version of the container is used. Especially if you are just using it as a base image in another docker file or devcontainer.

Describe the solution you'd like

There should be an environment variable, IIC_OSIC_TOOLS_VERSION, defining the image version used for that container. This will allow users to easily see what image version was used from within the running container.

From this issue:

Is there a way to check the version number from within it?

Unfortunately not, but I guess this would be a good idea going forward. I am thinking of an env var like IIC-OSIC-TOOLS giving the Docker like 2023.04.

Describe alternatives you've considered

None yet

Additional context

I couldn't tell what version I was using for the bug report in issue #9

hpretl added a commit that referenced this issue Apr 25, 2023
…within the container

See #10 (comment).

In addition, a bit of cleanup has happened related to ENV in the Dockerfile.
@hpretl
Copy link
Member

hpretl commented Apr 25, 2023

This will be implemented as part of the next release, see 2ed53a9.

@hpretl hpretl closed this as completed Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants