Commit Graph

10 Commits

Author SHA1 Message Date
Fintan Halpenny 7dcfe45781 build: Dockerfile uses Rust version from `rust-toolchain.toml`
Instead of hardcoding the version of the Rust alpine file, introduce an `ARG` in
the `Dockerfile`. In `build/build`, we determine the version by inspecting
`rust-toolchain.toml`, and pass this value in. This ensures that the binaries
are built using the same toolchain that we develop with.
2025-05-30 11:17:39 +02:00
Lorenz Leutgeb cbca3af260
chore: shellcheck fixes 2025-04-22 15:43:02 +02:00
Lorenz Leutgeb 77386b0fce build: Upload Git archive of heartwood 2025-04-22 11:46:01 +02:00
cloudhead 589c375624
build: Update env vars for build process
Use the standard `SOURCE_DATE_EPOCH` instead of `GIT_COMMIT_TIME`.
Set `GIT_HEAD` properly.
2024-06-20 10:47:50 +02:00
Yorgos Saslis 6966c97194
build: Switch to build args 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.

Signed-off-by: Yorgos Saslis <yorgos.work@proton.me>
2024-06-12 15:35:42 +02:00
cloudhead 6dd29d4b50
build: Move `ulimit` flag to correct location 2024-05-15 14:47:57 +02:00
cloudhead b195a3eb35
build: Set ulimit on container
This was necessary on some machines.
2024-05-15 12:24:44 +02:00
cloudhead 1708ddf777
build: Small changes to build script 2024-05-01 16:09:23 +02:00
cloudhead a9e3a53d2b
build: Don't add trailing slash 2024-04-29 13:17:15 +02:00
cloudhead 97b1a5de53
build: Move/rename build steps 2024-04-29 11:14:09 +02:00
Renamed from build/build.sh (Browse further)