Skip to content

Fix Go base image local build failures#563

Open
scuffi wants to merge 1 commit intomainfrom
patch/fix-go-docker-cert
Open

Fix Go base image local build failures#563
scuffi wants to merge 1 commit intomainfrom
patch/fix-go-docker-cert

Conversation

@scuffi
Copy link
Copy Markdown
Contributor

@scuffi scuffi commented Apr 7, 2026

Summary

Fixes a local Docker build failure introduced after rebasing.

The issue was caused by the desktop go-builder stage not always installing the system CA certificates, which caused Go module downloads to fail during the image build. The fix updates the Dockerfile so the Go build stage always installs and refreshes CA certificates, and still adds the local Wrangler CA when present.


Open with Devin

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 7, 2026

⚠️ No Changeset found

Latest commit: 87b3d77

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 7, 2026

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/sandbox-sdk/@cloudflare/sandbox@563

commit: 87b3d77

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

🐳 Docker Images Published

Variant Image
Default cloudflare/sandbox:0.0.0-pr-563-87b3d77
Python cloudflare/sandbox:0.0.0-pr-563-87b3d77-python
OpenCode cloudflare/sandbox:0.0.0-pr-563-87b3d77-opencode
Musl cloudflare/sandbox:0.0.0-pr-563-87b3d77-musl
Desktop cloudflare/sandbox:0.0.0-pr-563-87b3d77-desktop

Usage:

FROM cloudflare/sandbox:0.0.0-pr-563-87b3d77

Version: 0.0.0-pr-563-87b3d77


📦 Standalone Binary

For arbitrary Dockerfiles:

COPY --from=cloudflare/sandbox:0.0.0-pr-563-87b3d77 /container-server/sandbox /sandbox
ENTRYPOINT ["/sandbox"]

Download via GitHub CLI:

gh run download 24092026406 -n sandbox-binary

Extract from Docker:

docker run --rm cloudflare/sandbox:0.0.0-pr-563-87b3d77 cat /container-server/sandbox > sandbox && chmod +x sandbox

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