mirror of
https://github.com/dataforcanada/d4c-datapkg-statistical.git
synced 2026-06-13 14:10:55 +02:00
Add buckaroo and remove rclone from the Dockerfile
This commit is contained in:
+3
-6
@@ -13,7 +13,7 @@ RUN apt-get install -y neovim \
|
||||
git \
|
||||
aria2 \
|
||||
postgresql-client \
|
||||
zip
|
||||
zip
|
||||
|
||||
# tippecanoe
|
||||
RUN git clone https://github.com/felt/tippecanoe.git \
|
||||
@@ -29,7 +29,7 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/usr/local/
|
||||
# Create virtual environment and install Python packages
|
||||
RUN uv venv ~/.venv \
|
||||
&& cd ~ \
|
||||
&& uv pip install 'geopandas[all]' duckdb psycopg2-binary jupyterlab lonboard click stats-can openpyxl ordered-set sqlfluff
|
||||
&& uv pip install 'geopandas[all]' duckdb psycopg2-binary jupyterlab lonboard click stats-can openpyxl ordered-set sqlfluff buckaroo
|
||||
|
||||
# Bash Kernel
|
||||
RUN cd ~ \
|
||||
@@ -40,9 +40,6 @@ RUN cd ~ \
|
||||
RUN mkdir -p ~/.local/bin \
|
||||
&& curl https://install.duckdb.org | sh
|
||||
|
||||
# Install rclone
|
||||
RUN curl https://rclone.org/install.sh | bash
|
||||
|
||||
# When user logs in, we use the spatial virtual environment
|
||||
RUN echo 'source /root/.venv/bin/activate' > ~/.bashrc \
|
||||
&& echo 'export PATH="~/.local/bin:${PATH}"' >> ~/.bashrc
|
||||
@@ -51,4 +48,4 @@ RUN mkdir /data
|
||||
|
||||
RUN apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& uv cache clean
|
||||
&& uv cache clean
|
||||
Reference in New Issue
Block a user