From ea3b6f818c982ffdd326ee35769fe9f65e2a8da7 Mon Sep 17 00:00:00 2001 From: Alan Cooney <41682961+alan-cooney@users.noreply.github.com> Date: Thu, 30 Apr 2026 09:13:10 +0000 Subject: [PATCH] Remove devcontainer --- .devcontainer/Dockerfile | 27 ------------- .devcontainer/devcontainer.json | 69 --------------------------------- 2 files changed, 96 deletions(-) delete mode 100644 .devcontainer/Dockerfile delete mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index b928ea62..00000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/python-3/.devcontainer/base.Dockerfile - -# [Choice] Python version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.10, 3.9, 3.8, 3.7, 3.6, 3-bullseye, 3.10-bullseye, 3.9-bullseye, 3.8-bullseye, 3.7-bullseye, 3.6-bullseye, 3-buster, 3.10-buster, 3.9-buster, 3.8-buster, 3.7-buster, 3.6-buster -ARG VARIANT="3.10-bullseye" -FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} - -# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10 -ARG NODE_VERSION="none" -RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi - -# Install pip dependencies -RUN pip3 --disable-pip-version-check --no-cache-dir install \ - autopep8 \ - jupyterlab - -# Poetry for Python package management -USER vscode -RUN curl -sSL https://install.python-poetry.org | python3 - -ENV PATH "/home/vscode/.poetry/bin:$PATH" - -# [Optional] Uncomment this section to install additional OS packages. -# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ -# && apt-get -y install --no-install-recommends - -# [Optional] Uncomment this line to install global node packages. -# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g -# " 2>&1 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index b6e78d1c..00000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,69 +0,0 @@ -// 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/python-3 -{ - "name": "Python 3", - "build": { - "dockerfile": "Dockerfile", - "context": "..", - "args": { - // Update 'VARIANT' to pick a Python version: 3, 3.10, 3.9, 3.8, 3.7, 3.6 - // Append -bullseye or -buster to pin to an OS version. - // Use -bullseye variants on local on arm64/Apple Silicon. - "VARIANT": "3.10-bullseye", - // Options - "NODE_VERSION": "lts/*" - } - }, - // Configure tool-specific properties. - "customizations": { - // Configure properties specific to VS Code. - "vscode": { - // Set *default* container specific settings.json values on container create. - "settings": { - "mypy.dmypyExecutable": "dmypy" - }, - // Add the IDs of extensions you want installed when the container is created. - "extensions": [ - "2gua.rainbow-brackets", - "christian-kohler.npm-intellisense", - "christian-kohler.path-intellisense", - "davidanson.vscode-markdownlint", - "dbaeumer.vscode-eslint", - "donjayamanne.githistory", - "donjayamanne.python-extension-pack", - "eg2.vscode-npm-script", - "esbenp.prettier-vscode", - "github.copilot", - "github.vscode-pull-request-github", - "ionutvmi.path-autocomplete", - "mikoz.autoflake-extension", - "ms-python.isort", - "ms-python.pylint", - "ms-python.python", - "ms-python.vscode-pylance", - "ms-toolsai.jupyter-keymap", - "ms-toolsai.jupyter-renderers", - "ms-toolsai.jupyter", - "ms-vsliveshare.vsliveshare-pack", - "njpwerner.autodocstring", - "redhat.vscode-yaml", - "richie5um2.vscode-sort-json", - "rvest.vs-code-prettier-eslint", - "stkb.rewrap", - "streetsidesoftware.code-spell-checker-british-english", - "streetsidesoftware.code-spell-checker", - "tushortz.python-extended-snippets", - "yzhang.markdown-all-in-one", - "matangover.mypy", - "github.vscode-github-actions" - ] - } - }, - // Run commands after the container is created: - "postCreateCommand": "cd python && poetry config virtualenvs.in-project true && poetry self add 'poethepoet[poetry_plugin]' && poetry install --with dev && cd ../react && yarn", - // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. - "remoteUser": "vscode", - "hostRequirements": { - "memory": "6gb" - } -}