Sign inSign up

betterpeek/mega

By betterpeek

•Updated almost 2 years ago

Devcontainer image for c/c++/bun/rust/go with modern shell utils

Image
Developer tools
0

10K+

betterpeek/mega repository overview

⁠Usage

# Mount current project dir and start working on it inside the container: 
docker run -it --rm -v .:/workspace betterpeek/mega
$ z /workspace
$ cbr # alias for cargo build --release

Or use it as a devcontainer

# In your project
mkdir .devcontainer
touch .devcontainer/devcontainer.json

And add the following contents

{
    "name": "my-app",
    "image": "betterpeek/mega",
    "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
    "workspaceFolder": "/workspace",
    "customizations": {
        "vscode": {
            "extensions": [
// Your custom extensions related to the programming language you're using
                "rust-lang.rust-analyzer",
                "bungcip.better-toml",
                "eamodio.gitlens"
            ]
        }
    }
}

This docker image serves as a quick zero setup ephemeral devcontainer for bun(ts, js), rust, go, c++ and c for quick testing and development with vs-code. Bun runtime is also included, alongise oh-my-zsh git and ssh-agent plugins. Just git clone or mount your project and start developing!

Also includes helpful utilities like btop for resource monitoring, zoxide or z for a better cd experience and comes with oh-my-zsh installed and preconfigured.

docker run --rm -it betterpeek/mega to drop into a shell environment

Tag summary

Content type

Image

Digest

sha256:cf8b9a345…

Size

890.6 MB

Last updated

almost 2 years ago

docker pull betterpeek/mega