https://github.com/iamvikshan/devcontainers
docker containers that i use in most of my codespaces and app deployments
https://github.com/iamvikshan/devcontainers
Last synced: 4 months ago
JSON representation
docker containers that i use in most of my codespaces and app deployments
- Host: GitHub
- URL: https://github.com/iamvikshan/devcontainers
- Owner: iamvikshan
- Created: 2024-11-07T08:05:22.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-12-08T16:42:51.000Z (6 months ago)
- Last Synced: 2025-02-19T23:12:31.785Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 69.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
[](https://wakatime.com/badge/github/iamvikshan/devcontainers)
[](https://github.com/iamvikshan/devcontainers/actions/workflows/sync.yml)
[](https://github.com/iamvikshan/devcontainers/actions/workflows/releases.yml)
[](https://github.com/iamvikshan/devcontainers/actions/workflows/cla.yml)# DevContainer Configurations
This repository contains reusable DevContainer configurations for different development
environments.## Available Images
### 1. GitHub Container Registry
- `ghcr.io/iamvikshan/devcontainers/bun:latest` ~ 126.86 MiB
- `ghcr.io/iamvikshan/devcontainers/bun-node:latest` ~ 227.40 MiB
- `ghcr.io/iamvikshan/devcontainers/ubuntu-bun:latest` ~ 120.79 MiB
- `ghcr.io/iamvikshan/devcontainers/ubuntu-bun-node:latest` ~ 189.09 MiB### 2. GitLab Container Registry
- `registry.gitlab.com/vikshan/devcontainers/bun:latest` ~ 204.13 MiB
- `registry.gitlab.com/vikshan/devcontainers/bun-node:latest` ~ 505.76 MiB
- `registry.gitlab.com/vikshan/devcontainers/ubuntu-bun:latest` ~ 305.64 MiB
- `registry.gitlab.com/vikshan/devcontainers/ubuntu-bun-node:latest` ~ 510.51 MiB### 3. Docker Hub
- `docker.io/vikshan/bun:latest` ~ 126.86 MiB
- `docker.io/vikshan/bun-node:latest` ~ 227.40 MiB
- `docker.io/vikshan/ubuntu-bun:latest` ~ 120.79 MiB
- `docker.io/vikshan/ubuntu-bun-node:latest` ~ 189.09 MiB## Usage
You can use any image you like from the above list. They are all largely the same, but for this
example, we will use the `bun` image from `ghcr`.### Option 1: Reference from GitHub
Add this to your `.devcontainer/devcontainer.json`:
```json
{
"image": "ghcr.io/iamvikshan/devcontainers/bun:latest"
}
```### Option 2: Copy Configuration
1. Copy the desired configuration from the [`base`](./base/) directory to your project.
2. Modify as needed for your specific requirements.### Option 3: Extend Configuration
```json
{
"name": "My Custom Environment",
"build": {
"dockerfile": "./Dockerfile"
},
"extends": "ghcr.io/iamvikshan/devcontainers/bun:latest"
}
```## Development
### Building Images Locally
```bash
# From the base/bun directory
docker build -t devcontainers/bun .
```### Publishing Updates
1. Make changes to the configuration
2. Create a [pull request](https://gitlab.com/vikshan/devcontainers/-/merge_requests/new)
3. Once merged, GitHub Actions will build and publish the updated image## Contributing
1. [Fork](https://gitlab.com/vikshan/devcontainers/-/forks/new) the repository
2. Create a feature branch
3. Submit a [pull request](https://gitlab.com/vikshan/devcontainers/-/merge_requests/new)