diff --git a/universal/.codesandbox/icon.png b/universal/.codesandbox/icon.png new file mode 100644 index 000000000..9235fad78 Binary files /dev/null and b/universal/.codesandbox/icon.png differ diff --git a/universal/.codesandbox/tasks.json b/universal/.codesandbox/tasks.json new file mode 100644 index 000000000..b34104d5d --- /dev/null +++ b/universal/.codesandbox/tasks.json @@ -0,0 +1,7 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [], + + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": {} +} diff --git a/universal/.codesandbox/template.json b/universal/.codesandbox/template.json new file mode 100644 index 000000000..67a4bb5d7 --- /dev/null +++ b/universal/.codesandbox/template.json @@ -0,0 +1,7 @@ +{ + "title": "Universal", + "description": "A starter that contains almost all programming languages", + "iconUrl": "https://raw.githubusercontent.com/codesandbox/sandbox-templates/main/universal/.codesandbox/icon.png", + "tags": ["containers", "universal"], + "published": true +} diff --git a/universal/.devcontainer/Dockerfile b/universal/.devcontainer/Dockerfile new file mode 100644 index 000000000..b54aacd59 --- /dev/null +++ b/universal/.devcontainer/Dockerfile @@ -0,0 +1,12 @@ +# CodeSandbox supports debian & ubuntu based images +FROM mcr.microsoft.com/devcontainers/base:ubuntu-22.04 + +# Example; install htop by default +RUN apt update -y && apt install -y htop + +# The project will be mounted in /workspace by default + +# Every new shell will open inside the built container + +# On top of this build, we install `zsh`, `git` and `docker` as additional +# Docker layers. diff --git a/universal/.devcontainer/devcontainer.json b/universal/.devcontainer/devcontainer.json new file mode 100644 index 000000000..77cdaaa0e --- /dev/null +++ b/universal/.devcontainer/devcontainer.json @@ -0,0 +1,4 @@ +{ + "name": "Devcontainer", + "image": "ghcr.io/codesandbox/devcontainers/universal:latest" +} diff --git a/universal/README.md b/universal/README.md new file mode 100644 index 000000000..2c2c82429 --- /dev/null +++ b/universal/README.md @@ -0,0 +1,5 @@ +# Universal Template + +This template is based on a forked version of the [Universal image](https://github.com/codesandbox/devcontainer-images/pkgs/container/devcontainers%2Funiversal) from the Devcontainers team. + +It contains almost all languages. It's the perfect starter for projects that can go in any direction.