{"id":21423138,"url":"https://github.com/vccri/vscode-devcontainer-dockerfile","last_synced_at":"2025-03-16T20:25:22.561Z","repository":{"id":263931586,"uuid":"891815119","full_name":"VCCRI/VSCode-DevContainer-dockerfile","owner":"VCCRI","description":"Initiate a VS Code dev container from a dockerfile","archived":false,"fork":false,"pushed_at":"2024-11-21T03:13:56.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T07:11:20.296Z","etag":null,"topics":["devcontainer","development","devops","docker","dockerfile"],"latest_commit_sha":null,"homepage":"https://code.visualstudio.com/docs/devcontainers/containers","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VCCRI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-11-21T02:09:47.000Z","updated_at":"2024-11-21T03:13:59.000Z","dependencies_parsed_at":"2024-11-21T04:29:45.229Z","dependency_job_id":null,"html_url":"https://github.com/VCCRI/VSCode-DevContainer-dockerfile","commit_stats":null,"previous_names":["vccri/vscode-devcontainer-dockerfile"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VCCRI%2FVSCode-DevContainer-dockerfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VCCRI%2FVSCode-DevContainer-dockerfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VCCRI%2FVSCode-DevContainer-dockerfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VCCRI%2FVSCode-DevContainer-dockerfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VCCRI","download_url":"https://codeload.github.com/VCCRI/VSCode-DevContainer-dockerfile/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926606,"owners_count":20370010,"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":["devcontainer","development","devops","docker","dockerfile"],"created_at":"2024-11-22T21:14:28.868Z","updated_at":"2025-03-16T20:25:22.524Z","avatar_url":"https://github.com/VCCRI.png","language":null,"readme":"# Development Container\n\nThis project uses a development container to provide a consistent development environment. The container is defined using Docker and configured for Visual Studio Code.\n\n## Prerequisites\n\n- [Docker](https://www.docker.com/get-started) installed on your machine\n- [Visual Studio Code](https://code.visualstudio.com/) installed on your machine\n- [Remote - Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) installed in Visual Studio Code\n\n## Getting Started\n\n1. **Clone the repository**:\n    ```sh\n    git clone \u003crepository-url\u003e\n    cd \u003crepository-directory\u003e\n    ```\n\n2. **Open the repository in Visual Studio Code**:\n    ```sh\n    code .\n    ```\n\n3. **Reopen in Container**:\n    - Press `F1` to open the command palette.\n    - Type `Remote-Containers: Reopen in Container` and select it.\n\nVisual Studio Code will build the Docker image defined in the `.devcontainer` folder and start a container with the specified configuration.\n\n## Configuration Details\n\n- **Dockerfile**: The container is built using the `Dockerfile` located in the `.devcontainer` folder. It uses `ubuntu:20.04` as the base image and installs `curl`, `git`, and `vim`.\n\n- **devcontainer.json**: The configuration file for the development container.\n    - **name**: The name of the container.\n    - **build**: Specifies the Dockerfile to use for building the container.\n    - **customizations**: Custom settings for Visual Studio Code.\n        - **settings**: Sets the default shell to `/bin/bash`.\n        - **extensions**: Installs the `ms-vscode.cpptools` and `ms-python.python` extensions.\n    - **postCreateCommand**: Command to run after the container is created.\n    - **workspaceFolder**: The folder to open in the container.\n    - **workspaceMount**: Mounts the local workspace folder into the container.\n\n## Post-Create Command\n\nAfter the container is created, the following command is run:\n```sh\necho 'Container setup complete!'","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvccri%2Fvscode-devcontainer-dockerfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvccri%2Fvscode-devcontainer-dockerfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvccri%2Fvscode-devcontainer-dockerfile/lists"}