Commit aef48de
authored
generator: Add an environment variable to choose the container runtime (#172)
There are now many alternative container runtimes. These often
expose a socket interface which is compatible with the `docker`
CLI, but may also have their own command line utilities. For our
limited requirements, these alternative CLIs are often compatible
enough with the `docker` CLI that we can use them directly.
This PR adds an environment variable to allow users running alternative
container runtimes to use their CLIs directly when building SDKs,
removing the need to have the `docker` CLI tools installed as well.
I've tested the generator with `podman`; it produced identical SDKs
to the current implementation (#171), with good performance.
The `docker` CLI is currently still required to run the SDK generator
tests.1 parent 0c65e75 commit aef48de
File tree
2 files changed
+2
-2
lines changed- Sources/SwiftSDKGenerator/Generator
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments