aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer
diff options
context:
space:
mode:
Diffstat (limited to '.devcontainer')
-rw-r--r--.devcontainer/bashrc.override.sh20
-rw-r--r--.devcontainer/devcontainer.json36
2 files changed, 0 insertions, 56 deletions
diff --git a/.devcontainer/bashrc.override.sh b/.devcontainer/bashrc.override.sh
deleted file mode 100644
index bedddf6..0000000
--- a/.devcontainer/bashrc.override.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-
-#
-# .bashrc.override.sh
-#
-
-# persistent bash history
-HISTFILE=~/.bash_history
-PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
-
-# set some django env vars
-source /entrypoint
-
-# restore default shell options
-set +o errexit
-set +o pipefail
-set +o nounset
-
-# start ssh-agent
-# https://code.visualstudio.com/docs/remote/troubleshooting
-eval "$(ssh-agent -s)"
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
deleted file mode 100644
index b78092f..0000000
--- a/.devcontainer/devcontainer.json
+++ /dev/null
@@ -1,36 +0,0 @@
-// For format details, see https://containers.dev/implementors/json_reference/
-{
- "name": "pyblackbird_cc_dev",
- "dockerComposeFile": [
- "../local.yml"
- ],
- "init": true,
- "mounts": [
- {
- "source": "./.devcontainer/bash_history",
- "target": "/home/dev-user/.bash_history",
- "type": "bind"
- },
- {
- "source": "~/.ssh",
- "target": "/home/dev-user/.ssh",
- "type": "bind"
- }
- ],
- // Tells devcontainer.json supporting services / tools whether they should run
- // /bin/sh -c "while sleep 1000; do :; done" when starting the container instead of the container’s default command
- "overrideCommand": false,
- "service": "django",
- // "remoteEnv": {"PATH": "/home/dev-user/.local/bin:${containerEnv:PATH}"},
- "remoteUser": "dev-user",
- "workspaceFolder": "/app",
- // Set *default* container specific settings.json values on container create.
- "customizations": {
- },
- // Uncomment the next line if you want start specific services in your Docker Compose config.
- // "runServices": [],
- // Uncomment the next line if you want to keep your containers running after VS Code shuts down.
- // "shutdownAction": "none",
- // Uncomment the next line to run commands after the container is created.
- "postCreateCommand": "cat .devcontainer/bashrc.override.sh >> ~/.bashrc"
-}