Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bensimmers/multi-runtime-devcontainer
Simple docker container config for node/deno/bun development
https://github.com/bensimmers/multi-runtime-devcontainer
bun deno docker node runtime
Last synced: 21 days ago
JSON representation
Simple docker container config for node/deno/bun development
- Host: GitHub
- URL: https://github.com/bensimmers/multi-runtime-devcontainer
- Owner: BenSimmers
- Created: 2024-12-18T07:56:23.000Z (22 days ago)
- Default Branch: main
- Last Pushed: 2024-12-18T08:57:04.000Z (22 days ago)
- Last Synced: 2024-12-18T09:24:31.175Z (22 days ago)
- Topics: bun, deno, docker, node, runtime
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Multi Runtime Development Environment - Bun, Node and Deno
## Disclaimer
There is an `scripts/install.sh` in this repo which can install some runtimes (bun, node, deno etc). so please keep in mind this script may need to be chmmoded to be executable.
e.g.
```bash
chmod +x .devcontainer/scripts/install.sh
```There is also an optional `setup.sh` script which can be used to install npm and typscript globally. This is optional and can be run if you want to install these tools globally.
## Overview
This project provides a Docker image for a customizable development environment. It is based on the `buildpack-deps` image and includes a variety of essential tools for development.## Prerequisites
- [Docker](https://www.docker.com/get-started) installed on your machine.## Build Instructions
Use Visual Studio Code's Remote - Containers extension to use the container as a development environment.To build the Docker image, run the following command in the directory containing the Dockerfile:
```bash
docker build -t my-dev-container .
```## Run Instructions
To run the Docker container, run the following command:```bash
docker run -v $HOME:/home/bensimmersdev my-dev-container
```