Skip to content

chore: use dogfood-oss image in .devcontainer #8231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
use dogfood-oss image in devcontainer
  • Loading branch information
matifali committed Jun 17, 2023
commit 15ed011d6ffdf3e97f0f0fb1c5072d691e192da9
83 changes: 0 additions & 83 deletions .devcontainer/Dockerfile

This file was deleted.

25 changes: 4 additions & 21 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json
{
"name": "Development environments on your infrastructure",

// Sets the run context to one level up instead of the .devcontainer folder.
"context": ".",

// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "Dockerfile",

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

"postStartCommand": "dockerd",

// privileged is required by GitHub codespaces - https://github.com/microsoft/vscode-dev-containers/issues/727
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined",
"--privileged",
"--init"
]
"image": "codercom/dogfood-oss:latest",
"runArgs": ["--init", "--privileged"],
"overrideCommand": false,
"remoteUser": "coder"
}