Skip to content

[Bug]: Turbo Install Fails on Image Build #16

@sagalbot

Description

@sagalbot

What happened?

turbo:install is failing on the build step.

~/Sites/turbo main 15s
❯ bin/turbo install

 ┌ Which skills would you like to install? ─────────────────────┐
 │ agent-captures                                               │
 │ github-issue                                                 │
 │ github-labels                                                │
 │ github-milestone                                             │
 │ github-pr-comment                                            │
 │ laravel-actions                                              │
 │ laravel-controllers                                          │
 │ laravel-inertia                                              │
 │ laravel-testing                                              │
 │ laravel-validation                                           │
 │ agent-browser (recommended)                                  │
 └──────────────────────────────────────────────────────────────┘

 ┌ Which agents should skills be installed to? ─────────────────┐
 │ Claude Code                                                  │
 │ Cursor                                                       │
 │ Codex                                                        │
 │ GitHub Copilot                                               │
 └──────────────────────────────────────────────────────────────┘

Installing Turbo skills...
Processed skill templates with project configuration.
Installing agent-browser skill...

 ┌ Configure gh CLI access for Claude? (recommended) ───────────┐
 │ No                                                           │
 └──────────────────────────────────────────────────────────────┘

 ┌ Set up Docker sandbox? (builds the Turbo sandbox image) ─────┐
 │ Yes                                                          │
 └──────────────────────────────────────────────────────────────┘

 ┌ Docker image name ───────────────────────────────────────────┐
 │ turbo/turbo-dev                                              │
 └──────────────────────────────────────────────────────────────┘

Building Turbo sandbox image...
Dockerfile: /Users/sagalbot/Sites/turbo/Dockerfile
docker build --progress=quiet -t turbo/turbo-dev -f /Users/sagalbot/Sites/turbo/Dockerfile /Users/sagalbot/Sites/turbo
 ✔ Failed

Failed to build sandbox image.
Dockerfile:5
--------------------
   4 |
   5 | >>> RUN apt-get update && apt-get install -y --no-install-recommends \
   6 | >>>   php-cli php-mbstring php-xml php-curl php-zip php-intl php-bcmath php-sqlite3 php8.4-sqlite3 \
   7 | >>>   unzip ca-certificates \
   8 | >>>   && rm -rf /var/lib/apt/lists/*
   9 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends   php-cli php-mbstring php-xml php-curl php-zip php-intl php-bcmath php-sqlite3 php8.4-sqlite3   unzip ca-certificates   && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/uxq5h2ortfr6w562575kevasn


Turbo installation complete!

Here are the build logs:

[internal] load build definition from Dockerfile
	transferring 3343/0 0.003
[internal] load metadata for docker.io/docker/sandbox-templates:claude-code
[internal] load .dockerignore
[ 1/13] FROM docker.io/docker/sandbox-templates:claude-code@sha256:dd72b910b5a05623305b72eaa24a0947201396bdbc41194c6efebc18a0051fbf
	resolve docker.io/docker/sandbox-templates:claude-code@sha256:dd72b910b5a05623305b72eaa24a0947201396bdbc41194c6efebc18a0051fbf 0/0 0.007
	done 1609/1609 -0.333
	done 2578/2578 -0.189
	done 9759/9759 -0.031
	done 138/138 0.125
	done 1644/1644 0.31
	done 144/144 0.308
	done 1766/1766 0.423
	done 286/286 0.424
	done 290/290 0.543
	done 36674702/36674702 0.809
	done 21229788/21229788 0.996
	done 95496655/95496655 2.866
	done 75833326/75833326 2.988
	done 315166327/315166327 7.345
	extract 0/0 0.001
	extract 0/0 0.38
	extract 0/0 0.001
	extract 0/0 0
	extract 0/0 0
	extract 0/0 0
	extract 0/0 0
	extract 0/0 0.164
	extract 0/0 1.284
	extract 0/0 8.004
	extract 0/0 0.651
[internal] load build context
	transferring 8363/0 0.005
[ 2/13] RUN apt-get update && apt-get install -y --no-install-recommends   php-cli php-mbstring php-xml php-curl php-zip php-intl php-bcmath php-sqlite3 php8.4-sqlite3   unzip ca-certificates   && rm -rf /var/lib/apt/lists/*
	Get:1 https://download.docker.com/linux/ubuntu questing InRelease [32.5 kB]
	Get:2 https://download.docker.com/linux/ubuntu questing/stable arm64 Packages [19.7 kB]
	Get:3 http://ports.ubuntu.com/ubuntu-ports questing InRelease [275 kB]
	Get:4 http://ports.ubuntu.com/ubuntu-ports questing-updates InRelease [136 kB]
	Get:5 http://ports.ubuntu.com/ubuntu-ports questing-backports InRelease [133 kB]
	Get:6 http://ports.ubuntu.com/ubuntu-ports questing-security InRelease [136 kB]
	Get:7 http://ports.ubuntu.com/ubuntu-ports questing/restricted arm64 Packages [146 kB]
	Get:8 http://ports.ubuntu.com/ubuntu-ports questing/universe arm64 Packages [19.7 MB]
	Get:9 http://ports.ubuntu.com/ubuntu-ports questing/main arm64 Packages [1850 kB]
	Get:10 http://ports.ubuntu.com/ubuntu-ports questing/multiverse arm64 Packages [281 kB]
	Get:11 http://ports.ubuntu.com/ubuntu-ports questing-updates/multiverse arm64 Packages [3047 B]
	Get:12 http://ports.ubuntu.com/ubuntu-ports questing-updates/restricted arm64 Packages [333 kB]
	Get:13 http://ports.ubuntu.com/ubuntu-ports questing-updates/main arm64 Packages [447 kB]
	Get:14 http://ports.ubuntu.com/ubuntu-ports questing-updates/universe arm64 Packages [245 kB]
	Get:15 http://ports.ubuntu.com/ubuntu-ports questing-backports/universe arm64 Packages [4034 B]
	Get:16 http://ports.ubuntu.com/ubuntu-ports questing-security/universe arm64 Packages [169 kB]
	Get:17 http://ports.ubuntu.com/ubuntu-ports questing-security/main arm64 Packages [319 kB]
	Get:18 http://ports.ubuntu.com/ubuntu-ports questing-security/multiverse arm64 Packages [2711 B]
	Get:19 http://ports.ubuntu.com/ubuntu-ports questing-security/restricted arm64 Packages [331 kB]
	Fetched 24.6 MB in 4s (6612 kB/s)
	Reading package lists...
	Reading package lists...
	Building dependency tree...
	Reading state information...
	unzip is already the newest version (6.0-28ubuntu7).
	ca-certificates is already the newest version (20250419).
	Solving dependencies...
	The following additional packages will be installed:
	libargon2-1 libsodium23 libtext-charwidth-perl libtext-wrapi18n-perl
	libxslt1.1 libzip5 php-common php8.4-bcmath php8.4-cli php8.4-common
	php8.4-curl php8.4-intl php8.4-mbstring php8.4-opcache php8.4-readline
	php8.4-xml php8.4-zip ucf
	Suggested packages:
	php-pear
	The following NEW packages will be installed:
	libargon2-1 libsodium23 libtext-charwidth-perl libtext-wrapi18n-perl
	libxslt1.1 libzip5 php-bcmath php-cli php-common php-curl php-intl
	php-mbstring php-sqlite3 php-xml php-zip php8.4-bcmath php8.4-cli
	php8.4-common php8.4-curl php8.4-intl php8.4-mbstring php8.4-opcache
	php8.4-readline php8.4-sqlite3 php8.4-xml php8.4-zip ucf
	E: You don't have enough free space in /var/cache/apt/archives/.
	0 upgraded, 27 newly installed, 0 to remove and 9 not upgraded.
	Need to get 5293 kB of archives.
	After this operation, 26.2 MB of additional disk space will be used.

How to reproduce the bug

Run the install command.

Package Version

NA

PHP Version

8.4

Laravel Version

NA

Which operating systems does this happen with?

macOS

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions