From 1a2db6ec2fccbf2b5e6fe39710721e34623bc4a3 Mon Sep 17 00:00:00 2001 From: SerRichard Date: Thu, 18 Jan 2024 14:32:17 +0100 Subject: [PATCH] remove dev container --- .devcontainer/Dockerfile | 8 -------- .devcontainer/devcontainer.json | 28 ---------------------------- .devcontainer/docker-compose.yml | 13 ------------- README.md | 4 +--- 4 files changed, 1 insertion(+), 52 deletions(-) delete mode 100644 .devcontainer/Dockerfile delete mode 100644 .devcontainer/devcontainer.json delete mode 100644 .devcontainer/docker-compose.yml diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index 77734a6..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -ARG VARIANT="3.10-bullseye" -FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} as devcontainer - -# Poetry -ARG POETRY_VERSION="1.7.1" -RUN if [ "${POETRY_VERSION}" != "none" ]; then su vscode -c "umask 0002 && pip3 install poetry==${POETRY_VERSION}"; fi - -WORKDIR /openeo-fastapi \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 5ebece8..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "openeo-fastapi", - - "dockerComposeFile": "./docker-compose.yml", - - "service": "workspace", - - "workspaceFolder": "/openeo-fastapi", - - "settings": { - "python.defaultInterpreterPath": "/openeo-fastapi/.venv", - "python.venvPath": "/openeo-fastapi/.venv", - "python.pythonPath": "/openeo-fastapi/.venv/bin/python", - }, - - "extensions": [ - "ms-python.python", - "ms-toolsai.jupyter", - "ms-python.vscode-pylance", - "eamodio.gitlens", - "GitLab.gitlab-workflow", - "ms-azuretools.vscode-docker" - ], - - "remoteEnv": { - "GPG_TTY": "$(tty)`" - } -} diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml deleted file mode 100644 index 8b45eec..0000000 --- a/.devcontainer/docker-compose.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: "3.8" - -services: - workspace: - container_name: openeo-fastapi-devcontainer - build: - context: ../ - dockerfile: ".devcontainer/Dockerfile" - target: devcontainer - volumes: - - ../:/openeo-fastapi - - /eodc/:/eodc/ - tty: true diff --git a/README.md b/README.md index 28dd986..126ef85 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,7 @@ Included is a vscode dev container which is intended to be used as the developme #### Setup -1. In VSCode `Ctrl + shift + p` and select "Dev Containers: Rebuild Container" to open the development environment for the first time. - -2. Once the development environment is ready, run the following commands. +1. Run the following commands to initialise poetry venv. ``` # From /openeo-fastapi