888
888
888
.d88b. .d88b. 888d888 .d88b. .d88888 .d88b. .d88b. 888d888
d88P"88b d88""88b 888P" d8P Y8b d88" 888 d88""88b d8P Y8b 888P"
888 888 888 888 888 88888888 888 888 888 888 88888888 888
Y88b 888 Y88..88P 888 Y8b. Y88b 888 Y88..88P Y8b. 888
"Y88888 "Y88P" 888 "Y8888 "Y88888 "Y88P" "Y8888 888
888
Y8b d88P
"Y88P"
About
goredoer provides a container image and prebuilt binaries of Sergey
Matveev’s goredo utility.
goredo implements Daniel J. Bernstein’s redo build system
in Go.
The build downloads the source, checks its checksum, and compiles it.
Each release publishes the image as ghcr.io/rdavid/goredoer.
It also attaches the binaries for several architectures as release assets.
Usage
brew install rdavid/tap/goredo
You can also get an archive from the releases page.
Check it against SHA256SUMS, unpack it, and run goredo -symlinks.
In a container, copy goredo from the image and let it add the redo
symlinks.
Add these lines to your Containerfile:
COPY --from=ghcr.io/rdavid/goredoer:0.9.20261111 /goredo .
RUN goredo -symlinks
shellbase uses the goredoer image in its
Containerfile.
Development
Clone the repository:
git clone https://github.com/rdavid/goredoer.git &&
cd ./goredoer
The project uses redo as its task runner.
To run the tasks, you need goredo and
shellbase.
Get both from the tap with Homebrew:
brew install \
rdavid/tap/goredo \
rdavid/tap/shellbase
The tasks are:
-
redo buildbuilds the image from theContainerfile. -
redo lintruns the following linters on the source files:actionlint,hadolint,reuse,shellcheck,shfmt,typos,vale,yamllint. -
redo allruns bothbuildandlint. -
redo cleanremoves the build artifacts.
To build the image without redo, start the Podman VM if needed and run:
podman build --file ./Containerfile --format docker .
License
David Rabkin holds the copyright.
goredoer is available under the Zero-Clause BSD license.
goredo itself uses the GNU General Public License, version 3.