{"id":18404684,"url":"https://github.com/georglauterbach/dev-container-base","last_synced_at":"2025-04-12T20:17:32.582Z","repository":{"id":234907560,"uuid":"789723078","full_name":"georglauterbach/dev-container-base","owner":"georglauterbach","description":"Development Container Base Image for Common Tasks","archived":false,"fork":false,"pushed_at":"2025-04-09T22:26:28.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T20:17:26.516Z","etag":null,"topics":["containers","dev-container","development-container"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/georglauterbach.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["georglauterbach"]}},"created_at":"2024-04-21T11:32:47.000Z","updated_at":"2025-04-09T22:12:28.000Z","dependencies_parsed_at":"2024-07-21T20:18:35.696Z","dependency_job_id":"f9908bf5-7403-431e-a550-befcf265a308","html_url":"https://github.com/georglauterbach/dev-container-base","commit_stats":null,"previous_names":["georglauterbach/dev-container-base"],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georglauterbach%2Fdev-container-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georglauterbach%2Fdev-container-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georglauterbach%2Fdev-container-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georglauterbach%2Fdev-container-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/georglauterbach","download_url":"https://codeload.github.com/georglauterbach/dev-container-base/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625525,"owners_count":21135515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["containers","dev-container","development-container"],"created_at":"2024-11-06T03:00:26.578Z","updated_at":"2025-04-12T20:17:32.561Z","avatar_url":"https://github.com/georglauterbach.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/georglauterbach"],"categories":[],"sub_categories":[],"readme":"= Custom Development Container Base Image\n:toc:\n\n:link-dev_containers: https://containers.dev/\n:link-hermes: https://github.com/georglauterbach/hermes\n\n== About\n\nWhen working with link:{link-dev_containers}[Development Containers], you most likely build on top of existing images to utilize their existing tools and configuration. This project provides an image packed with as many as necessary and as few as possible configurations and applications to make development a breeze. You can use this image directly, or build on top of it, when configuring your Development Container.\n\n== Technical Information\n\nThis image\n\n. is based on link:https://hub.docker.com/_/ubuntu[`docker.io/ubuntu`] and built for `amd64` and `arm64`. Consult link:./Dockerfile[`Dockerfile`] for the complete set of installation steps.\n. heavily builds on link:{link-hermes}[_hermes_] to install sensible defaults for the console and useful additional programs. Consult the documentation of link:{link-hermes}[_hermes_] if you'd like to further customize the experience. The process is described https://github.com/georglauterbach/hermes?tab=readme-ov-file#optional-additional-setup[here].\n. configures common directories (like `${HOME}/.cache`) with the correct permissions.\n. sets environment variables such as\n.. `DEV_CONTAINER_BASE_VERSION=\u003cRELEASE VERSION\u003e#\u003cVERSION CONTROL SYSTEM REVISION\u003e` to check that you are inside a container, to check that you are using this image as a base, and to acquire information about the actual version.\n.. `DEV_CONTAINER_BASE_HERMES_VERSION=\u003cVERSION OF HERMES USED FOR BUILDING\u003e` to qcquire information about the version of link:{link-hermes}[_hermes_] that is used.\n. sets up `doas` so that you can simply run `sudo` inside the container without the need to enter a password.\n. sets up a system locale, defaulting to `en_US.UTF-8`.\n. does not set nor require a custom `ENTRYPOINT`.\n\n== Optional Additional Setup\n\n=== Proper Caching\n\nTo properly persist data that should be cached, you need to provide volumes in `devcontainer.json` for the following directories:\n\n[source,jsonc]\n----\n{\n  // Persist the VS Code extension cache; do not mount to `/home/ubuntu/.vscode-server`,\n  // otherwise, all settings are cached and hence, not be updated anymore.\n  \"source\": \"\u003cPROJECT\u003e-cache-vscode_extensions\",\n  \"target\": \"/home/ubuntu/.vscode-server/extensions\",\n  \"type\": \"volume\"\n},\n{\n  // Persist the `${HOME}/.cache` directory so that common\n  // caches are not lost on container restart.\n  \"source\": \"\u003cPROJECT\u003e-cache-home_cache\",\n  \"target\": \"/home/ubuntu/.cache\",\n  \"type\": \"volume\"\n}\n----\n\n=== Locale Setup\n\nWhen building on top of this image, you can call `sudo update_locales.sh \u003cLOCALE\u003e` to set a new locale. The default is `en_US.UTF-8`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorglauterbach%2Fdev-container-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeorglauterbach%2Fdev-container-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorglauterbach%2Fdev-container-base/lists"}