Skip to content

Commit 50dba8a

Browse files
Move yml into workflows and make dockerfile easier to read
1 parent 7f288bc commit 50dba8a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
File renamed without changes.

jukes-micromamba/Dockerfile

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
FROM mambaorg/micromamba:1.5.8-bookworm-slim
22

3-
ENV MAMBA_DOCKERFILE_ACTIVATE=1
4-
ENV ENV_NAME=cautorift
5-
6-
RUN apt update && apt install -y libgl1 && \
3+
USER root
4+
RUN apt update && \
5+
apt install -y libgl1 && \
76
apt clean
7+
USER $MAMBA_USER
88
RUN micromamba create -n cautorift -c conda-forge python autorift=1.1.0 \
9-
notebook matplotlib pandas opencv rasterio && \
9+
notebook matplotlib pandas opencv rasterio && \
1010
micromamba clean --all --yes
11-
ENV SITEPACKAGES=`micromamba run -n cautorift python -m site \
12-
| grep -m 1 site-packages | sed "s/[,']//g"`
13-
ENV AUTORIFT=${SITEPACKAGES}/autoRIFT/autoRIFT.py
11+
ENV AUTORIFT=opt/conda/envs/cautorift/lib/python3.9/site-packages/autoRIFT/autoRIFT.py
1412
RUN sed -i 's/np.bool/bool/g' $AUTORIFT && \
1513
sed -i 's/np.int/int/g' $AUTORIFT
16-
ENV SITEPACKAGES=
14+
1715
ENV AUTORIFT=
16+
ENV MAMBA_DOCKERFILE_ACTIVATE=1
17+
ENV ENV_NAME=cautorift

0 commit comments

Comments
 (0)