mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-08 22:29:56 +02:00
🐛 ocrd-galley: APass through JAVA_TOOL_OPTIONS for ocrd_fileformat
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
21ec588348
commit
017c01d33f
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ def docker_run(argv, docker_image):
|
||||||
docker_run_options.extend(["--user", "%s:%s" % (os.getuid(), os.getgid())])
|
docker_run_options.extend(["--user", "%s:%s" % (os.getuid(), os.getgid())])
|
||||||
docker_run_options.extend(["-e", "LOG_LEVEL=%s" % LOG_LEVEL])
|
docker_run_options.extend(["-e", "LOG_LEVEL=%s" % LOG_LEVEL])
|
||||||
|
|
||||||
|
# JAVA_TOOL_OPTIONS is used for Java proxy settings
|
||||||
|
if os.environ.get("JAVA_TOOL_OPTIONS"):
|
||||||
|
docker_run_options.extend(["-e", "JAVA_TOOL_OPTIONS"])
|
||||||
|
|
||||||
# The containers currently need to run privileged to allow it to read from e.g.
|
# The containers currently need to run privileged to allow it to read from e.g.
|
||||||
# /home on SELinux secured systems such as Fedora. We might want to use udica
|
# /home on SELinux secured systems such as Fedora. We might want to use udica
|
||||||
# instead in the future.
|
# instead in the future.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue