From f618e031f8233ea4903453cef0bc6970d10d4e2b Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Sat, 21 Oct 2023 07:55:43 +1100 Subject: [PATCH] updated devcontainer.json --- .devcontainer/Dockerfile | 7 ++----- .devcontainer/devcontainer.json | 10 +++++----- requirements.txt | 4 ---- 3 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 requirements.txt diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index a3b4c0c..c572c01 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,6 +1,3 @@ -FROM stackql/stackql:latest AS stackql +FROM stackql/stackql-jupyter-demo:latest AS stackql FROM mcr.microsoft.com/devcontainers/universal:2 -COPY --from=stackql /srv/stackql/stackql /usr/local/bin/stackql -RUN stackql exec 'registry pull aws' || (echo "Failed to pull aws provider" && exit 1) -RUN stackql exec 'registry pull google' || (echo "Failed to pull google provider" && exit 1) -RUN stackql exec 'registry pull github' || (echo "Failed to pull github provider" && exit 1) \ No newline at end of file +COPY --from=stackql /srv/stackql/stackql /usr/local/bin/stackql \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3f65871..ecf9aae 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,14 +1,14 @@ { - "image": "stackql/stackql-jupyter-demo", + "build": { "dockerfile": "Dockerfile" }, + "hostRequirements": { + "cpus": 2 + }, "customizations": { "vscode": { "extensions": [ "ms-toolsai.jupyter", "ms-python.python" - ], - "settings": { - "terminal.integrated.shell.linux": "/bin/bash" - } + ] } } } \ No newline at end of file diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 2f5747a..0000000 --- a/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -matplotlib -pandas -psycopg2 -pystackql \ No newline at end of file