Skip to content

Commit

Permalink
Merge pull request #9 from opensafely/iaindillingham/update-github-co…
Browse files Browse the repository at this point in the history
…despaces

Update dev container configuration
  • Loading branch information
iaindillingham authored Jul 29, 2024
2 parents c565af0 + 41cc46c commit e28c89a
Show file tree
Hide file tree
Showing 534 changed files with 14 additions and 110,072 deletions.
9 changes: 9 additions & 0 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Devcontainer Configuration

This folder contains configuration files required for Codespaces/devcontainers.
Please do not modify its contents unless you know what you are doing and there
is a specific change to the devcontainer configuration you need to make.

If you believe you have a broken configuration or are unsure if you have the
latest version of the configuration, please follow the
[instructions to add codespaces to your project](https://docs.opensafely.org/getting-started/how-to/add-github-codespaces-to-your-project/).
16 changes: 4 additions & 12 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@
"image": "ghcr.io/opensafely-core/research-template:v0",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": true,
"azureDnsAutoDetection": true,
"installDockerBuildx": true,
"version": "latest",
"dockerDashComposeVersion": "v2"
}
},
"postCreateCommand": "/bin/bash .devcontainer/postCreate.sh ${containerWorkspaceFolder}",
"postAttachCommand": {
"rstudio-start": "sudo rstudio-server start"
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"postCreateCommand": "/bin/bash /opt/devcontainer/postCreate.sh ${containerWorkspaceFolder}",
"postAttachCommand": "/bin/bash /opt/devcontainer/postAttach.sh",
"forwardPorts": [
8787
],
Expand Down Expand Up @@ -60,4 +52,4 @@
"remoteEnv": {
"MAX_WORKERS": "2"
}
}
}
14 changes: 0 additions & 14 deletions .devcontainer/ehrql-main/.dockerignore

This file was deleted.

15 changes: 0 additions & 15 deletions .devcontainer/ehrql-main/.env

This file was deleted.

17 changes: 0 additions & 17 deletions .devcontainer/ehrql-main/.github/dependabot.yml

This file was deleted.

120 changes: 0 additions & 120 deletions .devcontainer/ehrql-main/.github/workflows/build-and-deploy.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .devcontainer/ehrql-main/.github/workflows/check-docs.yml

This file was deleted.

This file was deleted.

73 changes: 0 additions & 73 deletions .devcontainer/ehrql-main/.github/workflows/generative-tests.yml

This file was deleted.

Loading

0 comments on commit e28c89a

Please sign in to comment.