-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (26 loc) · 946 Bytes
/
Dockerfile
File metadata and controls
31 lines (26 loc) · 946 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
29
30
31
FROM ubuntu:questing
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ENV PATH=/home/user/.local/bin:/opt/conda/bin:$PATH
RUN apt-get update --fix-missing && \
apt-get install -y --no-install-recommends \
bzip2 \
git \
ca-certificates \
curl\
&& \
apt clean -y && \
rm -rf /var/lib/apt/lists/*
RUN CONDA_VERSION="py311_25.11.1-1" && \
echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && \
curl -fLs https://repo.continuum.io/miniconda/Miniconda3-${CONDA_VERSION}-Linux-x86_64.sh --output ~/miniconda.sh && \
/bin/bash ~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh && \
find /opt/conda -name '*.a' -delete &&\
conda clean -y --all && rm -rf /opt/conda/pkgs
RUN pip install seed2lp
RUN pip install git+https://github.com/cfrioux/NetSeedPy.git@main
USER ubuntu
COPY --chown=ubuntu seed_inference_tutorial /wd
COPY --chown=ubuntu run_*.sh /wd
WORKDIR /wd