Skip to content

Commit

Permalink
Merge pull request #137 from opensafely/steve/use-devcontainer-files-…
Browse files Browse the repository at this point in the history
…from-docker-image

Use Docker image files in dev container config
  • Loading branch information
StevenMaude authored Jun 20, 2024
2 parents 35166a4 + c4afa09 commit 2694785
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
6 changes: 2 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"postCreateCommand": "/bin/bash .devcontainer/postCreate.sh ${containerWorkspaceFolder}",
"postAttachCommand": {
"rstudio-start": "sudo rstudio-server start"
},
"postCreateCommand": "/bin/bash /opt/devcontainer/postCreate.sh ${containerWorkspaceFolder}",
"postAttachCommand": "/bin/bash /opt/devcontainer/postAttach.sh",
"forwardPorts": [
8787
],
Expand Down
15 changes: 0 additions & 15 deletions .devcontainer/postCreate.sh

This file was deleted.

1 change: 0 additions & 1 deletion .devcontainer/requirements.in

This file was deleted.

0 comments on commit 2694785

Please sign in to comment.