DEV Community

Lynn Langit
Lynn Langit

Posted on

2

Containers for GitHub Codespaces

Tried out using custom containers as a basis for GitHub Codespaces using the Java example from Microsoft - list.

Create and populate a .devcontainers folder at my Repo root with (modified) example DOCKERFILE, devcontainer.json and supporting script files and away we go.

Custom Codespace being created
Alt Text

Using the Java Codespace (includes Maven & Gradle by default)
Alt Text

The supporting .devcontainers.json file
Alt Text

Easy-peasy. Also learned that if I don't own the repo on which I am creating a custom Codespace, then when initially creating a Codespace Github will automatically create a repo fork.

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

AWS Q Developer image

Your AI Code Assistant

Ask anything about your entire project, code and get answers and even architecture diagrams. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Start free in your IDE

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay