-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathContainerfile
More file actions
39 lines (31 loc) · 815 Bytes
/
Copy pathContainerfile
File metadata and controls
39 lines (31 loc) · 815 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
32
33
34
35
36
37
38
39
FROM almalinux:9
# Better logging for Python apps
ENV PYTHONUNBUFFERED=1
# HTCondor repository
RUN dnf install -y \
https://htcss-downloads.chtc.wisc.edu/repo/25.0/htcondor-release-current.el9.noarch.rpm
# Install system dependencies
RUN dnf -y update && \
dnf -y install \
python3 \
python3-pip \
git \
which \
procps \
hostname \
libcurl-devel \
vim \
condor \
&& dnf clean all
# Install useful development tools
RUN pip install --no-cache-dir \
debugpy
# Directory where the repo will be mounted
WORKDIR /workspace
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
# Default shell
CMD ["/bin/bash"]