From 1b78c7d83d91bb33f5dc9455160e017aa7a6c63a Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sat, 4 Apr 2026 10:16:29 -0400 Subject: [PATCH 1/2] Add entire extra --- images/Dockerfile | 22 ++++++++++++++++++++++ setup-yolo.sh | 7 ++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/images/Dockerfile b/images/Dockerfile index ce8f24b..9fc1e52 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -177,6 +177,28 @@ RUN if [ "$EXTRA_DENO" = "1" ]; then \ ENV PATH="/home/node/.deno/bin:$PATH" +# Install Entire CLI via Go +ARG EXTRA_ENTIRE="" + +RUN if [ "$EXTRA_ENTIRE" = "1" ]; then \ + ARCH=$(uname -m) && \ + case "$ARCH" in \ + x86_64) GOARCH=amd64 ;; \ + aarch64) GOARCH=arm64 ;; \ + *) echo "Unsupported architecture: $ARCH" && exit 1 ;; \ + esac && \ + GO_VERSION=1.24.2 && \ + wget -qO /tmp/go.tar.gz "https://go.dev/dl/go${GO_VERSION}.linux-${GOARCH}.tar.gz" && \ + mkdir -p /tmp/goroot && \ + tar -xzf /tmp/go.tar.gz -C /tmp/goroot --strip-components=1 && \ + GOROOT=/tmp/goroot GOPATH=/tmp/gopath PATH="/tmp/goroot/bin:$PATH" \ + go install github.com/entireio/cli/cmd/entire@latest && \ + mkdir -p ~/.local/bin && \ + mv /tmp/gopath/bin/entire ~/.local/bin/entire && \ + chmod -R u+w /tmp/gopath && \ + rm -rf /tmp/go.tar.gz /tmp/goroot /tmp/gopath; \ + fi + # Use tini as init process to properly reap zombie processes ENTRYPOINT ["/usr/bin/tini", "--"] CMD ["claude"] diff --git a/setup-yolo.sh b/setup-yolo.sh index ddc5929..b61d6c4 100755 --- a/setup-yolo.sh +++ b/setup-yolo.sh @@ -36,6 +36,7 @@ OPTIONS: datalad - DataLad with datalad-container and datalad-next jj - Jujutsu version control system deno - Deno JS/TS runtime and formatter + entire - Entire CLI (entireio/cli) all - Enable all extras EXAMPLES: @@ -102,12 +103,12 @@ while [[ $# -gt 0 ]]; do EXTRAS="${1#*=}" # Expand "all" to all available extras if [[ "$EXTRAS" == "all" ]]; then - EXTRAS="cuda,playwright,datalad,jj,deno" + EXTRAS="cuda,playwright,datalad,jj,deno,entire" fi # Validate extras for extra in ${EXTRAS//,/ }; do - if [[ ! "$extra" =~ ^(cuda|playwright|datalad|jj|deno)$ ]]; then - echo "Error: Unknown extra '$extra'. Valid extras: cuda, playwright, datalad, jj, deno, all" + if [[ ! "$extra" =~ ^(cuda|playwright|datalad|jj|deno|entire)$ ]]; then + echo "Error: Unknown extra '$extra'. Valid extras: cuda, playwright, datalad, jj, deno, entire, all" exit 1 fi done From 6960030bf7707600141c9cd734f350104208baf7 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 5 Apr 2026 15:14:26 -0400 Subject: [PATCH 2/2] Install v0.5.3 of entire.io --- images/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/Dockerfile b/images/Dockerfile index 9fc1e52..f811b7e 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -192,7 +192,7 @@ RUN if [ "$EXTRA_ENTIRE" = "1" ]; then \ mkdir -p /tmp/goroot && \ tar -xzf /tmp/go.tar.gz -C /tmp/goroot --strip-components=1 && \ GOROOT=/tmp/goroot GOPATH=/tmp/gopath PATH="/tmp/goroot/bin:$PATH" \ - go install github.com/entireio/cli/cmd/entire@latest && \ + go install github.com/entireio/cli/cmd/entire@v0.5.3 && \ mkdir -p ~/.local/bin && \ mv /tmp/gopath/bin/entire ~/.local/bin/entire && \ chmod -R u+w /tmp/gopath && \