Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
FROM ubuntu:18.04
FROM ubuntu:22.04

WORKDIR /app/COMPAS

# Prevent interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y \
g++ \
libhdf5-serial-dev \
libboost-all-dev \
libgsl-dev \
python3 \
python3-pip \
zip
zip \
&& rm -rf /var/lib/apt/lists/*

# RUN pip install numpy awscli
RUN pip3 install numpy
RUN pip3 install pyyaml
# Install Python packages
RUN pip3 install numpy pyyaml

# Copy only the source required to compile COMPAS
COPY src/ src/
Expand All @@ -26,4 +29,4 @@ ENV COMPAS_ROOT_DIR /app/COMPAS
RUN cd src && make -f Makefile.docker -j $(nproc)

# Run COMPAS
# CMD [ "python", "src/pythonSubmitDefault.py" ]
# CMD [ "python", "src/pythonSubmitDefault.py" ]