-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (22 loc) · 945 Bytes
/
Dockerfile
File metadata and controls
28 lines (22 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM waveclus-matlab-base
USER root
COPY --from=waveclus-snippets-matlab-base /usr/bin/mlrtapp/waveclus_snippets_compiled /usr/bin/mlrtapp/waveclus_snippets_compiled
RUN chmod 755 /usr/bin/mlrtapp/waveclus_compiled
RUN chmod 755 /usr/bin/mlrtapp/waveclus_snippets_compiled
ENV PATH="/usr/bin/mlrtapp:${PATH}"
# Installing Python with miniconda
RUN apt-get update && \
apt-get install -y build-essential && \
apt-get install -y wget && \
apt-get install -y git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ENV MINICONDA_VERSION=25.5.1-0
ENV PYTHON_VERSION=py312
ENV CONDA_DIR=/home/miniconda3
ENV LATEST_CONDA_SCRIPT="Miniconda3-${PYTHON_VERSION}_${MINICONDA_VERSION}-Linux-x86_64.sh"
RUN wget --quiet https://repo.anaconda.com/miniconda/$LATEST_CONDA_SCRIPT -O ~/miniconda.sh && \
bash ~/miniconda.sh -b -p $CONDA_DIR && \
rm ~/miniconda.sh
ENV PATH=$CONDA_DIR/bin:$PATH
RUN pip install hdf5storage