diff --git a/.devcontainer/mini/Dockerfile b/.devcontainer/mini/Dockerfile new file mode 100644 index 000000000..dc9e8913b --- /dev/null +++ b/.devcontainer/mini/Dockerfile @@ -0,0 +1,5 @@ +FROM mcr.microsoft.com/vscode/devcontainers/python:3.11 + +RUN pipx install poetry \ + && poetry install \ + && poetry run pip install recce \ No newline at end of file diff --git a/.devcontainer/mini/devcontainer.json b/.devcontainer/mini/devcontainer.json new file mode 100644 index 000000000..6683f25b4 --- /dev/null +++ b/.devcontainer/mini/devcontainer.json @@ -0,0 +1,13 @@ +{ + "name": "Recce CodeSpace (Minimal)", + "build": { + "dockerfile": "Dockerfile" + }, + "containerEnv": { + "DBT_GOOGLE_PROJECT": "infuseai-dev", + "DBT_GOOGLE_DATASET": "oso_playground", + "DBT_GOOGLE_DEV_DATASET": "oso_playground_dev", + "DBT_GOOGLE_KEYFILE": "/home/vscode/.config/gcloud/google-service-account.json", + }, + "postStartCommand": "mkdir -p /home/vscode/.config/gcloud && printenv GOOGLE_CLOUD_SERVICE_ACCOUNT_KEY_CONTENT > ${DBT_GOOGLE_KEYFILE} && poetry run recce server --cloud --review" +} \ No newline at end of file