mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-12 20:42:57 +00:00
Update tagging/taggers.py
This commit is contained in:
@@ -14,7 +14,9 @@ def _get_program_version(container, program: str) -> str:
|
|||||||
|
|
||||||
def _get_env_variable(container, variable: str) -> str:
|
def _get_env_variable(container, variable: str) -> str:
|
||||||
env = DockerRunner.run_simple_command(
|
env = DockerRunner.run_simple_command(
|
||||||
container, cmd="env", print_result=False
|
container,
|
||||||
|
cmd="env",
|
||||||
|
print_result=False,
|
||||||
).split()
|
).split()
|
||||||
for env_entry in env:
|
for env_entry in env:
|
||||||
if env_entry.startswith(variable):
|
if env_entry.startswith(variable):
|
||||||
|
Reference in New Issue
Block a user