File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:18 .04
1+ FROM ubuntu:22 .04
22
33WORKDIR /app/COMPAS
44
5+ # Prevent interactive prompts during package installation
6+ ENV DEBIAN_FRONTEND=noninteractive
7+
58RUN apt-get update && apt-get install -y \
69 g++ \
710 libhdf5-serial-dev \
811 libboost-all-dev \
912 libgsl-dev \
1013 python3 \
1114 python3-pip \
12- zip
15+ zip \
16+ && rm -rf /var/lib/apt/lists/*
1317
14- # RUN pip install numpy awscli
15- RUN pip3 install numpy
16- RUN pip3 install pyyaml
18+ # Install Python packages
19+ RUN pip3 install numpy pyyaml
1720
1821# Copy only the source required to compile COMPAS
1922COPY src/ src/
@@ -26,4 +29,4 @@ ENV COMPAS_ROOT_DIR /app/COMPAS
2629RUN cd src && make DOCKER_BUILD=1 -j $(nproc)
2730
2831# Run COMPAS
29- # CMD [ "python", "src/pythonSubmitDefault.py" ]
32+ # CMD [ "python", "src/pythonSubmitDefault.py" ]
You can’t perform that action at this time.
0 commit comments