Commit cd93016
authored
feat: Set docker platform from DOCKER_DEFAULT_PLATFORM env variable (#129)
* If the environment variable DOCKER_DEFAULT_PLATFORM exists use it
to set the --platform option for 'docker run'. This is required to be able to run
on other platforms than the native host's with emulation.
- c.f. https://docs.docker.com/engine/reference/commandline/cli/#environment-variables1 parent 99528ea commit cd93016
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments