Skip to content

devcontainer: download pup binary instead of go install#21360

Merged
geropl merged 1 commit intomainfrom
gpl/fix-pup-install
Mar 20, 2026
Merged

devcontainer: download pup binary instead of go install#21360
geropl merged 1 commit intomainfrom
gpl/fix-pup-install

Conversation

@geropl
Copy link
Member

@geropl geropl commented Mar 20, 2026

Description

pup v0.4.0 (released 2017) fails to compile with modern Go versions, breaking the devcontainer image build. This replaces go install github.com/ericchiang/pup@v0.4.0 with a direct download of the pre-built binary from GitHub releases.

This matches the approach already used in dev/image/Dockerfile and supports multi-arch builds via TARGETARCH.

Related Issue(s)

Fixes CORE-

How to test

  1. Start a new Gitpod environment on this branch
  2. Verify the devcontainer builds successfully
  3. Verify pup is available: which pup && pup --version

pup v0.4.0 (2017) fails to compile with modern Go versions.
Download the pre-built binary from GitHub releases instead,
matching the approach already used in dev/image/Dockerfile.

Co-authored-by: Ona <no-reply@ona.com>
@geropl geropl marked this pull request as ready for review March 20, 2026 07:48
@geropl geropl enabled auto-merge (squash) March 20, 2026 07:48
@geropl geropl merged commit f876a56 into main Mar 20, 2026
14 checks passed
@geropl geropl deleted the gpl/fix-pup-install branch March 20, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants