Skip to content

Commit

Permalink
revert changes to .devcontainer config
Browse files Browse the repository at this point in the history
  • Loading branch information
Venkat Allam committed Dec 26, 2024
1 parent b5a7701 commit 40a4937
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:3.13
COPY --from=ghcr.io/astral-sh/uv:0.5.11 /uv /uvx /bin/
ARG USERNAME=vscode

RUN curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg && \
install -o root -g root -m 644 conda.gpg /usr/share/keyrings/conda-archive-keyring.gpg && \
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" | sudo tee -a /etc/apt/sources.list.d/conda.list

RUN apt-get update && \
apt-get install -y --no-install-recommends libgdal-dev && \
rm -rf /var/lib/apt/lists/*
Expand Down
11 changes: 8 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
"build": { "dockerfile": "Dockerfile", "context": ".." },
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"containerUser": "vscode",
"remoteUser": "vscode",
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
"workspaceFolder": "/app",
"customizations": {
"codespaces": {
"openFiles": ["docs/tutorials/getting_started.qmd"]
"openFiles": [
"docs/tutorials/getting_started.qmd"
]
},
"vscode": {
"extensions": [
Expand All @@ -29,4 +34,4 @@
"yqVersion": "latest"
}
}
}
}
4 changes: 2 additions & 2 deletions .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
source /opt/conda/etc/profile.d/conda.sh

# install ibis
python3 -m pip install ipyflow ipython
python3 -m pip install ipython

# avoid using dynamic versioning by grabbing the version from pyproject.toml
POETRY_DYNAMIC_VERSIONING_BYPASS="$(yq '.tool.poetry.version' pyproject.toml)" \
python3 -m pip install -e '.[clickhouse,datafusion,duckdb,examples]'
python3 -m pip install -e '.[duckdb,clickhouse,examples,geospatial,datafusion]'

0 comments on commit 40a4937

Please sign in to comment.