linuxserver / docker-jackett

GNU General Public License v3.0
390 stars 96 forks source link

Save Docker image version in /etc/docker-image #105

Closed ngosang closed 3 years ago

ngosang commented 3 years ago

Description:

I'm one of the Jackett developers. This PR creates a file in /etc/docker-image with the Docker image version. Since we enabled automatic updates in #102 we are having less issues, but we can't know the version of the Docker image, just the Jacket version. In some cases it's necessary to know the Docker image because some libraries like openssl are outdated.

Benefits of this PR and context:

We are going to read that file (if it exists) and print the version near the Jackett version to help resolve issues.

How Has This Been Tested?

Manually in my machine. image

@thelamer ping.

LinuxServer-CI commented 3 years ago

I am a bot, here are the test results for this PR: https://lsio-ci.ams3.digitaloceanspaces.com/lspipepr/jackett/v0.16.1163-pkg-512fdc34-pr-105/index.html https://lsio-ci.ams3.digitaloceanspaces.com/lspipepr/jackett/v0.16.1163-pkg-512fdc34-pr-105/shellcheck-result.xml

thelamer commented 3 years ago

Just a heads, up this will be blank for people that build local without args, but I think that is corner enough that does not matter.

ngosang commented 3 years ago

Don't worry. I will show image build: unknown in those cases.

ngosang commented 3 years ago

imagen