Skip to content

Commit 04b9307

Browse files
committed
[#37] add support for main in centos:7
Also configure core-dev repo in ubuntu-18.04 Dockerfile so that the new externals will get picked up.
1 parent 935274b commit 04b9307

File tree

3 files changed

+29
-24
lines changed

3 files changed

+29
-24
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
__pycache__/
22
*.pyc
3+
tags

projects/centos-7/Dockerfile

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
11
FROM centos:7
22

3-
RUN yum update -y && \
4-
yum install -y \
5-
which \
6-
epel-release \
7-
wget \
8-
python \
9-
python-psutil \
10-
python-requests \
11-
python-jsonschema \
12-
python-pip \
13-
rsyslog \
14-
gnupg \
15-
unixODBC-devel \
16-
authd
3+
RUN \
4+
yum update -y && \
5+
yum install -y \
6+
which \
7+
epel-release \
8+
wget \
9+
gcc-c++ \
10+
make \
11+
python3 \
12+
python3-pip \
13+
rsyslog \
14+
gnupg \
15+
unixODBC-devel \
16+
authd
17+
#&& \
18+
#yum clean all && \
19+
#rm -rf /var/cache/yum /tmp/* && \
20+
21+
RUN yum install -y python3-devel
22+
23+
RUN pip3 install xmlrunner distro psutil pyodbc jsonschema requests
1724

1825
RUN rpm --import https://packages.irods.org/irods-signing-key.asc && \
19-
wget -qO - https://packages.irods.org/renci-irods.yum.repo | tee /etc/yum.repos.d/renci-irods.yum.repo && \
20-
yum update -y
26+
wget -qO - https://packages.irods.org/renci-irods.yum.repo | tee /etc/yum.repos.d/renci-irods.yum.repo
2127

22-
# TODO: For some reason, pip does not work from installation above...
23-
RUN yum install -y \
24-
python-pip \
25-
sudo \
26-
&& \
27-
pip install xmlrunner
28+
RUN rpm --import https://core-dev.irods.org/irods-core-dev-signing-key.asc && \
29+
wget -qO - https://core-dev.irods.org/renci-irods-core-dev.yum.repo | tee /etc/yum.repos.d/renci-irods-core-dev.yum.repo
2830

2931
ENTRYPOINT ["bash", "-c", "until false; do sleep 2147483647d; done"]

projects/ubuntu-18.04/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ RUN \
3131
RUN pip3 install xmlrunner distro
3232

3333
RUN wget -qO - https://packages.irods.org/irods-signing-key.asc | apt-key add - && \
34-
echo "deb [arch=amd64] https://packages.irods.org/apt/ bionic main" | tee /etc/apt/sources.list.d/renci-irods.list && \
35-
apt-get update
34+
echo "deb [arch=amd64] https://packages.irods.org/apt/ bionic main" | tee /etc/apt/sources.list.d/renci-irods.list
35+
36+
RUN wget -qO - https://core-dev.irods.org/irods-core-dev-signing-key.asc | apt-key add - && \
37+
echo "deb [arch=amd64] https://core-dev.irods.org/apt/ bionic main" | tee /etc/apt/sources.list.d/renci-irods-core-dev.list
3638

3739
ENTRYPOINT ["bash", "-c", "until false; do sleep 2147483647d; done"]

0 commit comments

Comments
 (0)