Something went wrong. Try again.
A rewrite of the Plan 9 rc shell in Goose for UNIX-like systems and with structured CLI args
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930FROM ubuntu:26.04
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ build-essential ca-certificates clang cmake curl fish git ninja-build nodejs procps python3 zsh
ARG BB_VERSION=1.13.229RUN architecture="$(uname -m)"; \ case "$architecture" in \ aarch64) digest=d85a95210efe6d8fd3b534f3d594948e3f30fa1c5864044773105ad3e2d79096 ;; \ x86_64) architecture=amd64; digest=64fb984991c6e68f44e8a9391176a9bb411f9b9ae9959a6bca5307c75a7414da ;; \ *) exit 1 ;; \ esac; \ curl -fL "https://github.com/babashka/babashka/releases/download/v${BB_VERSION}/babashka-${BB_VERSION}-linux-${architecture}-static.tar.gz" -o /var/tmp/bb.tar.gz && \ printf '%s %s\n' "$digest" /var/tmp/bb.tar.gz | sha256sum -c - && \ tar -xzf /var/tmp/bb.tar.gz -C /usr/local/bin bb
# The named context supplies the same Goose source as the macOS test run.COPY --from=goose CMakeLists.txt /opt/goose/CMakeLists.txtCOPY --from=goose cmake /opt/goose/cmakeCOPY --from=goose src /opt/goose/srcCOPY --from=goose third_party /opt/goose/third_partyCOPY --from=goose stdlib /opt/goose/stdlibRUN cmake -S /opt/goose -B /opt/goose/build -G Ninja -DCMAKE_BUILD_TYPE=Release -DGOOSE_VERSION=2026.3-local && \ cmake --build /opt/goose/build -j 2
ENV PATH="/opt/goose/build:${PATH}"ENV GOOSE_STDLIB=/opt/goose/stdlibWORKDIR /workCMD ["make", "check", "test", "test-debug"]