-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from spatial-data-lab/knime5.3.2-geospatial1.2
Knime5.3.2 geospatial1.2
- Loading branch information
Showing
6 changed files
with
84 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,45 @@ | ||
# Define the base image | ||
FROM registry.hub.knime.com/knime/knime-full:r-5.1.2-433 | ||
FROM knime/knime-full:r-5.3.2-564 | ||
# registry.hub.knime.com/knime/knime-full:r-5.3.1-498 | ||
# knime/knime-full:r-5.3.2-563 | ||
# Define the list of update sites and features | ||
# Optional, the default is the KNIME Analytics Platform update site (first entry in the list below) | ||
ENV KNIME_UPDATE_SITES=https://update.knime.com/analytics-platform/5.1,https://update.knime.com/community-contributions/trusted/5.1 | ||
# Install a feature from the Community Trusted update site | ||
# ENV KNIME_FEATURES="sdl.harvard.features.geospatial.feature.group" | ||
ENV KNIME_FEATURES="sdl.harvard.features.geospatial.feature.group" | ||
|
||
|
||
# Change to the root user | ||
USER root | ||
# Install the ca-certificates package to avoid SSL certificate issues | ||
RUN apt update && apt install -y ca-certificates curl | ||
# RUN apt update && apt install -y ca-certificates curl | ||
# Update/upgrade package manager and install ca-certificates to enable ca certificates that micromamba (for python) is asking for | ||
RUN apt-get update && \ | ||
apt-get upgrade -yq && \ | ||
apt-get install -yq \ | ||
ca-certificates curl && \ | ||
# cleanup | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Change back to the knime user | ||
USER knime | ||
|
||
|
||
ENV KNIME_UPDATE_SITES=https://update.knime.com/analytics-platform/5.2,https://update.knime.com/community-contributions/trusted/5.2 | ||
# Install a feature from the Community Trusted update site | ||
ENV KNIME_FEATURES="sdl.harvard.features.geospatial.feature.group" | ||
|
||
# Execute extension installation script | ||
RUN ./install-extensions.sh | ||
|
||
# set up the Python environment | ||
|
||
# Install Python 3.9 | ||
RUN curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" | ||
# /home/knime/ | ||
RUN bash -c "bash Miniforge3-$(uname)-$(uname -m).sh -b -p /home/knime/condaforge" | ||
RUN rm -rf Miniforge3-$(uname)-$(uname -m).sh | ||
ENV PATH="/home/knime/condaforge/bin:$PATH" | ||
|
||
# Install Python packages | ||
COPY knime_py39.yml /home/knime/knime_py39.yml | ||
RUN /home/knime/condaforge/bin/conda env create -f /home/knime/knime_py39.yml | ||
RUN rm -rf /home/knime/knime_py39.yml | ||
# RUN curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" | ||
# # /home/knime/ | ||
# RUN bash -c "bash Miniforge3-$(uname)-$(uname -m).sh -b -p /home/knime/condaforge" | ||
# RUN rm -rf Miniforge3-$(uname)-$(uname -m).sh | ||
# ENV PATH="/home/knime/condaforge/bin:$PATH" | ||
|
||
# # Install Python packages | ||
COPY py3_knime.yml /home/knime/py3_knime.yml | ||
RUN /home/knime/miniconda3/condabin/conda env create -f /home/knime/py3_knime.yml | ||
COPY knime_dl_cpu.yml /home/knime/knime_dl_cpu.yml | ||
RUN /home/knime/miniconda3/condabin/conda env create -f /home/knime/knime_dl_cpu.yml | ||
# RUN rm -rf /home/knime/py3_knime.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: knime_dl_cpu | ||
channels: | ||
- conda-forge | ||
- knime | ||
- anaconda | ||
dependencies: | ||
- python=3.6 | ||
- h5py=2.8 | ||
- tensorflow-mkl=1.12 | ||
- keras=2.2.4 | ||
- pandas=0.25.3 | ||
- py-xgboost-cpu | ||
# - scikit-learn | ||
# - geopandas | ||
# - scipy | ||
prefix: /home/knime/miniconda3/envs/knime_dl_cpu |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: py3_knime | ||
channels: | ||
- conda-forge | ||
- knime | ||
dependencies: | ||
- python=3.11 | ||
- geopandas | ||
- pyarrow | ||
- knime-python-scripting=5.3 | ||
- matplotlib | ||
- earthengine-api | ||
- geemap | ||
- folium | ||
- mapclassify | ||
- keplergl | ||
- h3-py | ||
- geopy | ||
- esda | ||
- libpysal | ||
- mgwr | ||
- osmnx | ||
- polyline | ||
- pulp | ||
- pysal | ||
- rasterio | ||
- seaborn | ||
- sympy | ||
- pointpats | ||
- scipy | ||
- scikit-learn | ||
prefix: /home/knime/miniconda3/envs/py3_knime |