Skip to content

build: improve devcontainer docker build time - #2063

Merged
cre8ivejp merged 11 commits into
mainfrom
update-dev-container
Aug 18, 2025
Merged

build: improve devcontainer docker build time#2063
cre8ivejp merged 11 commits into
mainfrom
update-dev-container

Conversation

@cre8ivejp

@cre8ivejp cre8ivejp commented Aug 18, 2025

Copy link
Copy Markdown
Member

Fix #2065

Things done

  • Improve build time from 1 hour to 5 minutes
  • Updated node version to 22.18.0
  • Moved devcontainer features to Dockerfile for better maintenance

Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
@cre8ivejp
cre8ivejp force-pushed the update-dev-container branch 3 times, most recently from 52aaa34 to 0690ff7 Compare August 18, 2025 07:11
Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
@cre8ivejp
cre8ivejp force-pushed the update-dev-container branch from 0690ff7 to a8266d1 Compare August 18, 2025 07:16
- Install kubectl, helm, and minikube directly in Dockerfile
- Support both amd64 and arm64 architectures
- Use latest stable versions
@cre8ivejp
cre8ivejp force-pushed the update-dev-container branch from 3b6f1b7 to 27a7652 Compare August 18, 2025 08:09
- Create codespace user with UID 1000 for compatibility
- Set up proper home directory permissions
- Fix chown errors in setup scripts
- Ensure minikube and tools are accessible to codespace user
- Add common-utils feature to create codespace user (fixes chown errors)
- Add kubectl-helm-minikube feature to install minikube
- Maintain original architecture using features instead of custom Dockerfile changes
Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
@cre8ivejp
cre8ivejp force-pushed the update-dev-container branch from 0d66ba8 to 435c57f Compare August 18, 2025 08:32
Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
@cre8ivejp
cre8ivejp force-pushed the update-dev-container branch 2 times, most recently from 8ddc4a5 to bbb8a00 Compare August 18, 2025 10:53
Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
@cre8ivejp
cre8ivejp force-pushed the update-dev-container branch from bbb8a00 to 873aae0 Compare August 18, 2025 10:59
@cre8ivejp cre8ivejp changed the title build: update dev container dependencies build: improve devcontainer docker build time Aug 18, 2025
@cre8ivejp
cre8ivejp marked this pull request as ready for review August 18, 2025 11:16
Comment thread .github/workflows/devcontainer-image-build.yaml
@cre8ivejp
cre8ivejp merged commit a616dae into main Aug 18, 2025
17 checks passed
@cre8ivejp
cre8ivejp deleted the update-dev-container branch August 18, 2025 13:52
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.

build: improve devcontainer docker build time

2 participants