4 Commits
Author SHA1 Message Date
Lorenz Leutgeb 244a8b6fca scripts, build: Name all scripts *.sh
… so that `just check-scripts` actually finds all of them.
2026-10-30 12:48:00 +01:00
Lorenz Leutgeb c7d71df4ab scripts, build, just: POSIX Compliance
Enforce POSIX shell syntax with ShellCheck using `--shell sh`.
2026-10-30 12:45:40 +01:00
Fintan HalpennyandLorenz Leutgeb 6f25d73d3d build: remove quotes from rust-version
The script would include the quotes and so running `build/build` would
result in:

    $ build/build
    Running build..
    ✓ Radicle key already in ssh-agent
    Building Radicle 1.2.0..
    Creating archive of repository at e9cf91… in build/heartwood-e9cf91….tar.gz..
    Building image (radicle-build-1.2.0)..
    [1/2] STEP 1/17: FROM rust:"1.85"-alpine3.20 AS builder
    Error: creating build container: parsing reference "rust:\"1.85\"-alpine3.20": invalid reference format

Co-authored-by: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
2025-06-02 12:28:08 +02:00
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