mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +02:00
Specify linux/amd64 platform when running docker run
This commit is contained in:
parent
387a742487
commit
ee04570048
1 changed files with 4 additions and 0 deletions
|
@ -78,6 +78,8 @@ def convert(input_filename, output_filename, ocr_lang, stdout_callback):
|
|||
"run",
|
||||
"--network",
|
||||
"none",
|
||||
"--platform",
|
||||
"linux/amd64",
|
||||
"-v",
|
||||
f"{input_filename}:/tmp/input_file",
|
||||
"-v",
|
||||
|
@ -96,6 +98,8 @@ def convert(input_filename, output_filename, ocr_lang, stdout_callback):
|
|||
"run",
|
||||
"--network",
|
||||
"none",
|
||||
"--platform",
|
||||
"linux/amd64",
|
||||
"-v",
|
||||
f"{pixel_dir}:/dangerzone",
|
||||
"-v",
|
||||
|
|
Loading…
Reference in a new issue