build: Switch to build args over env vars in dockerfile
--env is a podman-specific feature. While it is clear that podman is a requirement here, switching these to build arguments better expresses intent.
These values are meant to be configurable at build time, which is exactly what build arguments are for, while environment variables are meant to persist in the image built.
Additionally, this removes a couple of unused env vars.
2 files changed
+12
-7
ce99f7e7
→
6966c971
modified build/Dockerfile
@@ -4,6 +4,11 @@ LABEL maintainer="Radicle Team <team@radicle.xyz>"
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -51,6 +56,8 @@ RUN cargo zigbuild --locked --release \
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -84,7 +91,7 @@ RUN find * -maxdepth 0 -type d -exec mv '{}' "radicle-$RADICLE_VERSION-{}" \; &&
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified build/build
@@ -40,12 +40,10 @@ main() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|