We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffe2dc9 commit 078514dCopy full SHA for 078514d
container/Dockerfile
@@ -1,4 +1,4 @@
1
-FROM ubuntu:22.04
+FROM ubuntu:24.04
2
3
# install dependencies
4
@@ -18,11 +18,13 @@ RUN apt-get update && apt-get install -y \
18
# prepare python install
19
20
COPY amici.tar.gz /from_host/
21
-
22
-RUN pip3 install --upgrade pip build && \
+RUN bash -c 'python3 -m venv venv && \
+ echo "source $HOME/venv/bin/activate" >> ~/.bashrc && \
23
+ source venv/bin/activate && \
24
+ pip3 install --upgrade pip build && \
25
mkdir -p /from_host/amici/ && \
26
cd /from_host/amici && \
27
tar -xzf ../amici.tar.gz && cd python/sdist && \
28
python3 -m build --sdist && \
29
pip3 install -v $(ls -t dist/amici-*.tar.gz | head -1)[petab] && \
- rm -rf /from_host
30
+ rm -rf /from_host'
0 commit comments