Skip to content

chrismckelt/devcontainer-prebuild-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Devcontainer

This is an example of a devcontainer that prebuilds all features in /.devcontainer/devcontainer.json

This is pushed to your remote container registry for reuse

How does this work

When the GitHub Action called job-devcontainer-build.yaml it will look at the file ./devcontainer/devcontainer.json and using the devcontainer CLI prebuild all features into a custom image and push to docker hub.

Read more on prebuilds

https://containers.dev/guide/prebuild

ToDo

For future changes to work, there is a GitHub Action included to 'prebuild' the dev container. The below SECRETS need to be set in this repo for docker push to work

  • REGISTRY_USER
  • REGISTRY_TOKEN

This branch was manually built and pushed locally to https://hub.docker.com/repository/docker/chrismckelt/devcontainer-prebuild-template

 devcontainer build --workspace-folder . --image-name chrismckelt/devcontainer-prebuild-template
 docker push chrismckelt/devcontainer-prebuild-template:latest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published