File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1
1
FROM mambaorg/micromamba:1.5.8-bookworm-slim
2
2
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 && \
7
6
apt clean
7
+ USER $MAMBA_USER
8
8
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 && \
10
10
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
14
12
RUN sed -i 's/np.bool/bool/g' $AUTORIFT && \
15
13
sed -i 's/np.int/int/g' $AUTORIFT
16
- ENV SITEPACKAGES=
14
+
17
15
ENV AUTORIFT=
16
+ ENV MAMBA_DOCKERFILE_ACTIVATE=1
17
+ ENV ENV_NAME=cautorift
You can’t perform that action at this time.
0 commit comments