Sign inSign up

sommerfeldio/devcontainer

By sommerfeldio

•Updated 27 minutes ago

Collection of Docker images for various purposes.

Image
0

10K+

sommerfeldio/devcontainer repository overview

⁠sommerfeldio/devcontainer

The sommerfeldio/devcontainer Docker image serves as a foundational development environment for projects under the sommerfeld.io⁠ organization. It includes essential tools required by all repositories. It can be used as either a ready-to-use development container for immediate coding. or as a baseline image that can be extended with additional tools as needed.

⁠Software Tags and Versioning

Learn about our tagging policy and the difference between rolling tags and immutable tags on our documentation page⁠⁠.

⁠Software Bill of Materials (SBOM)

Starting with version 0.25.2, a Software Bill of Materials (SBOM) in SPDX format is generated for every image at build time and attached directly to the image in Docker Hub as an OCI attestation, available for the edge, latest and versioned tags. Retrieve it with

  • docker scout sbom sommerfeldio/devcontainer:latest or
  • docker buildx imagetools inspect sommerfeldio/devcontainer:latest --format "{{ json .SBOM }}".

The same SBOM is also attached as a downloadable asset on each GitHub release⁠.

⁠Usage

The easiest way to use this image is by adding a Dockerfile to your repository's .devcontainer folder and extending sommerfeldio/devcontainer.

FROM sommerfeldio/devcontainer:latest
LABEL maintainer="[email protected]"

This sommerfeldio/devcontainer image is based on mcr.microsoft.com/devcontainers/base:ubuntu-24.04⁠ and is configured to run as the non-root user vscode by default. File permissions and mounted volumes will be owned and accessed by the vscode user (uid = 1000, gid = 1000).

{
    "name": "project-name",
    "build": {
        "dockerfile": "Dockerfile"
    },

    "customizations": {
        "vscode": {
            "settings": {},
            "extensions": [
                "ms-azuretools.vscode-docker",
                "github.vscode-github-actions",
                "redhat.vscode-yaml"
            ]
        }
    },

    "features": {
        "ghcr.io/devcontainers/features/docker-in-docker:4.0.0": {
            "moby": false
        }
    }
}

This approach provides several benefits:

  • Ensures that pipelines can validate the Devcontainer setup.
  • Allows Dependabot to track updates.
  • Makes it easy to extend the image with additional tools as needed.

⁠License

This container image is inheriting the MIT License from the GitHub repository⁠.

The license from this GitHub repository is compatible with the license from the devcontainers project⁠ which is MIT as well.

Tag summary

Content type

Image

Digest

sha256:c14b5761c…

Size

667.3 MB

Last updated

21 days ago

docker pull sommerfeldio/devcontainer