-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d44ff4
commit b66ce61
Showing
1 changed file
with
4 additions
and
38 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,38 +1,4 @@ | ||
FROM mambaorg/micromamba:1.1.0-bullseye | ||
USER root | ||
|
||
RUN apt update && apt install -y \ | ||
wget \ | ||
unzip \ | ||
git \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
# USER $MAMBA_USER | ||
# RUN micromamba install --yes --name base --channel conda-forge \ | ||
# requests \ | ||
# quarto \ | ||
# pathlib && \ | ||
# micromamba clean --all --yes | ||
|
||
# Source: https://hub.docker.com/r/mambaorg/micromamba | ||
# COPY --chown=$MAMBA_USER:$MAMBA_USER environment.yml /tmp/env.yaml | ||
# COPY --chown=$MAMBA_USER:$MAMBA_USER unzip.py unzip.py | ||
# RUN micromamba install -y -n base -f /tmp/env.yaml && \ | ||
# micromamba clean --all --yes | ||
# ARG MAMBA_DOCKERFILE_ACTIVATE=1 # (otherwise python will not be found) | ||
# RUN python unzip.py | ||
# RUN micromamba install -y -n base -f geocompy-main/environment.yml && \ | ||
# micromamba clean --all --yes | ||
|
||
# RUN sudo apt install wget | ||
# RUN wget https://github.com/quarto-dev/quarto-cli/releases/download/v0.9.637/quarto-0.9.637-linux-amd64.deb | ||
# RUN dpkg -i quarto* | ||
|
||
|
||
# ENTRYPOINT ["conda", "run", "-n", "geocompy", \ | ||
# "python", "-c", \ | ||
# "import numpy; print('success!')"] | ||
# See https://stackoverflow.com/questions/72021249/ | ||
# RUN conda config --add channels conda-forge && conda update -y conda \ | ||
# && conda install -y geopandas | ||
# RUN wget https://github.com/geocompr/py/archive/refs/heads/main.zip | ||
# RUN conda install -c conda-forge unzip | ||
FROM mambaorg/micromamba:jammy | ||
COPY --chown=$MAMBA_USER:$MAMBA_USER environment.yml /tmp/env.yaml | ||
RUN micromamba install -y -n base -f /tmp/env.yaml && \ | ||
micromamba clean --all --yes |