-
Notifications
You must be signed in to change notification settings - Fork 31
/
Dockerfile
42 lines (35 loc) · 884 Bytes
/
Dockerfile
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
40
41
42
FROM ubuntu:22.04
LABEL maintainer="Christian Muise ([email protected])"
# Install required packages
WORKDIR /root/install
COPY install-apptainer-ubuntu.sh .
RUN bash install-apptainer-ubuntu.sh 1.0.3 1.18.3 \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
bash-completion \
ca-certificates \
git \
libseccomp-dev \
python3 \
python3-pip \
python3-venv \
tzdata \
unzip \
vim \
wget \
build-essential \
gcc-x86-64-linux-gnu \
python3-dev \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install --upgrade pip
RUN pip3 install setuptools
# Copy files and install
COPY . .
RUN python3 setup.py install
# Remove files
WORKDIR /root
RUN rm -rf install
# Setup the planutils
RUN planutils setup
# default command to execute when container starts
CMD /bin/bash