Skip to content

perf(devcontainer): keep the Feature layers under the project layer - #6941

Merged
dan-petty merged 4 commits into
mainfrom
perf/6470-keep-feature-layers-under-project
Nov 24, 2026
Merged

dan-petty merged 4 commits into
mainfrom
perf/6470-keep-feature-layers-under-project

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Build the Feature image first from a base stage, then add the project layer in a second docker buildx build. The Dev Containers CLI adds Feature layers after the last stage of the Dockerfile, so the project layer is placed above them. A release changing only src/ reads Feature layers from the cache and pushes only the project layer.

Closes #6470

Change: openspec/changes/archive/2026-11-24-6470-keep-feature-layers-under-project/

@dan-petty dan-petty added type/infra Type infra: the build, CI, images or cluster scope/devcontainer The DevContainer, its image and its features labels Nov 24, 2026
@dan-petty
dan-petty force-pushed the perf/6470-keep-feature-layers-under-project branch from ccae685 to f838d31 Compare November 24, 2026 00:59
@dan-petty
dan-petty marked this pull request as ready for review November 24, 2026 01:09
@dan-petty
dan-petty enabled auto-merge (squash) November 24, 2026 04:24
@dan-petty
dan-petty merged commit b431c53 into main Nov 24, 2026
39 checks passed
@dan-petty
dan-petty deleted the perf/6470-keep-feature-layers-under-project branch November 24, 2026 04:27
dan-petty-release Bot added a commit that referenced this pull request Nov 24, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.207.0](v0.206.2...v0.207.0)
(2026-11-24)


### Features

* **docker:** lint the Dockerfiles with hadolint in pre-commit
([#6944](#6944))
([09ea9c8](09ea9c8))


### Bug Fixes

* **deps:** lock file maintenance
([#6953](#6953))
([b27b8fc](b27b8fc))
* **deps:** update ghcr.io/dan-petty/devtools Docker tag to v1.1.8
([#6950](#6950))
([db55a1b](db55a1b))
* **docker:** ignore DL3066 on devcontainer base stage vscode user
([#6964](#6964))
([e071c2e](e071c2e))


### Performance Improvements

* **devcontainer:** keep the Feature layers under the project layer
([#6941](#6941))
([b431c53](b431c53))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/devcontainer The DevContainer, its image and its features type/infra Type infra: the build, CI, images or cluster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perf(devcontainer): keep the Feature layers under the project layer

1 participant