GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — feat(cli): trust an extra CA bundle in builds and the container by aledbf · Pull Request #57 · spin-stack/devcontainer-cli Conversation
Member
Closes #50 Builds
Container
Never copied
Also in this change
Tests
🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions--ca-bundle <file> on build, up and run-user-commands takes a PEM bundle (the system CAs plus a TLS-intercepting proxy's). Every Feature install RUN mounts it as the BuildKit secret devcontainer-ca-bundle at /run/devcontainer/ca-bundle.crt and runs install.sh with SSL_CERT_FILE, NODE_EXTRA_CA_CERTS, REQUESTS_CA_BUNDLE, CURL_CA_BUNDLE and GIT_SSL_CAINFO pointing at it, for that RUN only. A user Dockerfile is given the same secret id and opts in with RUN --mount. up binds the file read-only at the same path and sets the variables in the container's environment; run-user-commands sets them for the lifecycle commands and refuses a container created without the mount. The bundle is mounted, never copied: no layer, config or history holds it, and its content is outside the cache key, so a rotated CA reuses the cache and builds the same layers. Without buildx it is left out of builds with a warning; a Compose configuration's build takes no secrets, so only its container gets the bundle. up --secrets-file now reaches the Dockerfile's own RUNs too, as build does; it reached only the Features' before. Tests hold a DOCKER_CONFIG off $HOME behind a symlink, and the bridged build auth under TMPDIR, which the docs now say. Closes #50 Co-Authored-By: Claude Opus 5.5 <[email protected]> The server container ran with --rm and its address came from the bridge network by name, with docker inspect's stderr discarded: on CI the lookup failed with a bare "exit status 1". Keep the container until cleanup, read the address from whatever network it is on, and report the inspect output, the container's state and its logs. Co-Authored-By: Claude Opus 5.5 <[email protected]> docker run's stderr carries the image pull's progress when the base image is not cached, as on CI; combined with stdout it became part of the container id, and every later docker call on that id failed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Extra CA bundle in builds and containers; tests for secrets on tmpfs (Spinbox integration)Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |