From 95890810462217abf121ae2948b719704b398d42 Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Sun, 23 Jul 2023 09:00:19 +0530 Subject: [PATCH] Removed VSCode Dev Container --- .devcontainer/Dockerfile | 16 ---------------- .devcontainer/devcontainer.json | 27 --------------------------- .vscode/settings.json | 2 +- 3 files changed, 1 insertion(+), 44 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 95f93b00..00000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -# For more information, please refer to https://aka.ms/vscode-docker-python -FROM mcr.microsoft.com/devcontainers/python:0-3.11 - -RUN apt-get update && \ - apt-get install -y locales && \ - sed --in-place --expression='s/# en_IN UTF-8/en_IN UTF-8/' /etc/locale.gen && \ - dpkg-reconfigure --frontend=noninteractive locales - -ENV LANG en_IN -ENV LC_ALL en_IN - -# Install Poetry -RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python - && \ - cd /usr/local/bin && \ - ln -s /opt/poetry/bin/poetry && \ - poetry config virtualenvs.create false diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 98945afd..00000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,27 +0,0 @@ -// For format details, see https://aka.ms/devcontainer.json. For config options, see the -// README at: https://github.com/devcontainers/templates/tree/main/src/python -{ - "name": "Python 3", - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "build": { "dockerfile": "Dockerfile" }, - "features": { - "ghcr.io/devcontainers/features/node:1": {} - }, - - // Features to add to the dev container. More info: https://containers.dev/features. - // "features": {}, - - // Use 'forwardPorts' to make a list of ports inside the container available locally. - "forwardPorts": [5432], - - "runArgs": ["--network=host"], - - // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "poetry config virtualenvs.create false && cd brewman && poetry install --no-root", - - // Configure tool-specific properties. - // "customizations": {}, - - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. - "remoteUser": "root" -} diff --git a/.vscode/settings.json b/.vscode/settings.json index 4e45558c..e7c16b04 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { - "python.defaultInterpreterPath": "/home/tanshu/.cache/pypoetry/virtualenvs/brewman-C3_Ccu4O-py3.10/bin/python", + "python.defaultInterpreterPath": "/home/tanshu/.cache/pypoetry/virtualenvs/brewman-C3_Ccu4O-py3.11/bin/python", "files.exclude": { "**/__pycache__": true, "**/.mypy_cache": true,