Skip to content

Instantly share code, notes, and snippets.

@MacaylaMarvelous81
Created October 26, 2022 04:32
Show Gist options
  • Save MacaylaMarvelous81/addf4d67b1e0e613e19eac6487e9b11a to your computer and use it in GitHub Desktop.
Save MacaylaMarvelous81/addf4d67b1e0e613e19eac6487e9b11a to your computer and use it in GitHub Desktop.
devc-codespace
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/ubuntu
{
"name": "Ubuntu",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick an Ubuntu version: jammy / ubuntu-22.04, focal / ubuntu-20.04, bionic /ubuntu-18.04
// Use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon.
"args": { "VARIANT": "ubuntu-22.04" }
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
"features": {
"git": "latest"
},
"customizations": {
"codespaces": {
"repositories": {
"MacaylaMarvelous81/cuberite": {
"permissions": {
"contents": "write"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment