mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 10:34:06 +00:00
Update tagging/taggers.py
This commit is contained in:
@@ -54,7 +54,8 @@ class UbuntuVersionTagger(TaggerInterface):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def tag_value(container) -> str:
|
def tag_value(container) -> str:
|
||||||
os_release = DockerRunner.run_simple_command(
|
os_release = DockerRunner.run_simple_command(
|
||||||
container, "cat /etc/os-release"
|
container,
|
||||||
|
"cat /etc/os-release",
|
||||||
).split("\n")
|
).split("\n")
|
||||||
for line in os_release:
|
for line in os_release:
|
||||||
if line.startswith("VERSION_ID"):
|
if line.startswith("VERSION_ID"):
|
||||||
|
Reference in New Issue
Block a user