From 3b6bbffb87f172ef1369004ed181e28bde8971db Mon Sep 17 00:00:00 2001 From: auburnsummer <37142182+auburnsummer@users.noreply.github.com> Date: Mon, 7 Oct 2024 21:39:41 +1000 Subject: [PATCH] Delete .devcontainer directory --- .devcontainer/Dockerfile | 21 ----------------- .devcontainer/devcontainer.json | 38 ------------------------------ .devcontainer/postCreateCommand.sh | 7 ------ 3 files changed, 66 deletions(-) delete mode 100644 .devcontainer/Dockerfile delete mode 100644 .devcontainer/devcontainer.json delete mode 100755 .devcontainer/postCreateCommand.sh diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index 61e8d27..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -FROM mcr.microsoft.com/devcontainers/base:jammy - -RUN apt-get update && apt-get install -y \ - sudo \ - curl \ - wget \ - vim \ - git \ - git-lfs \ - python3-pip \ - pypy3 \ - python3-venv - -RUN curl -L https://fly.io/install.sh | FLYCTL_INSTALL=/usr/local sh -RUN wget https://github.com/benbjohnson/litestream/releases/download/v0.3.9/litestream-v0.3.9-linux-amd64.deb -RUN dpkg -i litestream-v0.3.9-linux-amd64.deb - -USER vscode -RUN python3 -m pip install --user pipx -ENV PATH="${PATH}:/home/vscode/.local/bin" -RUN pipx install poetry diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 4839101..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "auburn's dev container", - "build": { - "dockerfile": "Dockerfile" - }, - "customizations": { - "vscode": { - "extensions": [ - "ms-python.python" - ], - "settings": { - "python.envFile": "${workspaceFolder}/orchard/.env", - "python.formatting.provider": "black", - "python.defaultInterpreterPath": "${workspaceFolder}/orchard/.venv/bin/python" - } - } - }, - // Features to add to the dev container. More info: https://containers.dev/implementors/features. - // "features": {}, - - // Use 'forwardPorts' to make a list of ports inside the container available locally. - // "forwardPorts": [], - - // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "./.devcontainer/postCreateCommand.sh", - "features": { - "ghcr.io/devcontainers/features/docker-in-docker:2": {} - }, - "containerEnv": { - "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}" - } - - // 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/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh deleted file mode 100755 index 05a07ac..0000000 --- a/.devcontainer/postCreateCommand.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -set -Eeuo pipefail - -poetry config virtualenvs.in-project true -poetry env use $(which pypy3) -poetry install \ No newline at end of file