Skip to content

Running Homebrew no longer supported in Devcontainers? #68

Description

@anataliocs

I just started receiving this error in my devcontainer build today when using the homebrew feature. It was installing fine previously.

[2025-03-29T20:24:27.031Z] #27 64.87 Installing Homebrew...

[2025-03-29T20:24:27.195Z] #27 64.89 Cloning into '/home/linuxbrew/.linuxbrew/Homebrew'...

[2025-03-29T20:29:49.854Z] #27 387.7 Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core'...

[2025-03-29T21:31:41.857Z] #27 4099.7 error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
#27 4099.7 error: 5798 bytes of body are still expected

[2025-03-29T21:31:42.054Z] #27 4099.7 fetch-pack: unexpected disconnect while reading sideband packet
#27 4099.7 fatal: early EOF
#27 4099.7 fatal: fetch-pack: invalid index-pack output

[2025-03-29T21:31:42.982Z] #27 4100.8 Error: 
[2025-03-29T21:31:43.114Z] Running Homebrew as root is extremely dangerous and no longer supported.
#27 4100.8 As Homebrew does not drop privileges on installation you would be giving all
#27 4100.8 build scripts full access to your system.
#27 4100.9 Done!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions