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",
|
"run",
|
||||||
"--network",
|
"--network",
|
||||||
"none",
|
"none",
|
||||||
|
"--platform",
|
||||||
|
"linux/amd64",
|
||||||
"-v",
|
"-v",
|
||||||
f"{input_filename}:/tmp/input_file",
|
f"{input_filename}:/tmp/input_file",
|
||||||
"-v",
|
"-v",
|
||||||
|
@ -96,6 +98,8 @@ def convert(input_filename, output_filename, ocr_lang, stdout_callback):
|
||||||
"run",
|
"run",
|
||||||
"--network",
|
"--network",
|
||||||
"none",
|
"none",
|
||||||
|
"--platform",
|
||||||
|
"linux/amd64",
|
||||||
"-v",
|
"-v",
|
||||||
f"{pixel_dir}:/dangerzone",
|
f"{pixel_dir}:/dangerzone",
|
||||||
"-v",
|
"-v",
|
||||||
|
|
Loading…
Reference in a new issue