Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 2.94 KB

README.md

File metadata and controls

64 lines (38 loc) · 2.94 KB

Reproducible Development Environment

Summary

Use or extend the new Debian-based default, large, and multi-language universal image which contains many popular languages/frameworks/SDKS/runtimes

Metadata Value
Categories Services, GitHub
Image type Dockerfile
Published image ghcr.io/arctan95/codespaces
Published image architecture(s) x86-64, aarch64
Container host OS support Linux, macOS, Windows
Container OS Debian
Languages, platforms Python, Node.js, JavaScript, TypeScript, C++, Java, C#, F#, .NET Core, PHP, Go, Ruby, Rust

Description

This repository is a fork from devcontainers/images. If you like what you see but want to make a few additions or changes, you can use a custom Dockerfile to extend it and add whatever you need.

The container includes the zsh (and Oh My Zsh!) shell that you can opt into using instead of the default bash. It also includes Nix as package manager, asdf as multiple runtime version manager. You can also set things up to access the container via SSH.

Using this image

While the image itself works unmodified, you can also directly reference pre-built versions of Dockerfile by using the image property in .devcontainer/devcontainer.json or updating the FROM statement in your own Dockerfile to:

ghcr.io/arctan95/codespaces

Alternatively, you can use the contents of the Dockerfile to fully customize your container's contents or to build it for a container host architecture not supported by the image.

Refer to this guide for more details.

Using with Nix

If you don't want to use docker image, you can alternatively run the command below.

curl -sSL https://raw.githubusercontent.com/arctan95/codespaces/HEAD/.devcontainer/first-run-setup.sh | bash

Refer to Nix Manual for more details.

Homebrew

This repository also contains Homebrew backup file in .config/homebrew for macOS system. You can simply run the following commands to backup & restore.

brew bundle dump --describe --force --file="/your/path/to/Brewfile" # backup
brew bundle install --file="/your/path/to/Brewfile" # restore

Remote Tunnel

If you want to enable Remote Tunnel provided by Visual Studio Code, simply run the following command.

curl -sSL https://raw.githubusercontent.com/arctan95/codespaces/HEAD/.devcontainer/local-features/remote-tunnel/install-vscode-cli.sh | sudo bash

Refer to Remote Tunnels for more details.

Customization

You can edit the config.toml file to customize your settings.

License

Licensed under the MIT License. See LICENSE.