-
Notifications
You must be signed in to change notification settings - Fork 17
/
Dockerfile
42 lines (36 loc) · 1.24 KB
/
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:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y \
bison \
cmake \
flex \
g++ \
git \
gnupg \
lsb-release \
make \
nano \
python3 \
python3-pip \
python3-venv \
rsync \
tig \
wget \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/*
RUN wget -qO- https://packages.irods.org/irods-signing-key.asc | tee /etc/apt/trusted.gpg.d/renci-irods-signing-key.asc && \
echo "deb [arch=amd64] https://packages.irods.org/apt/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/renci-irods.list && \
wget -qO- https://core-dev.irods.org/irods-core-dev-signing-key.asc | tee /etc/apt/trusted.gpg.d/renci-irods-core-dev-signing-key.asc && \
echo "deb [arch=amd64] https://core-dev.irods.org/apt/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/renci-irods-core-dev.list
RUN apt-get update && \
apt-get install -y \
irods-icommands \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/*
RUN mkdir -p /root/.irods && \
echo "{}" | tee /root/.irods/irods_environment.json
COPY run_make.sh /run_make.sh
ENTRYPOINT ["bash", "/run_make.sh"]