Skip to content

Commit 90807b9

Browse files
authored
Merge pull request #89 from mwestphall/SOFTWARE-4867-fix-requirements
Install requirements.txt file in docker build
2 parents 14c605a + c872f71 commit 90807b9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
ARG BASE_OSG_SERIES=3.6
1+
ARG BASE_OSG_SERIES=24
22
ARG BASE_YUM_REPO=release
33

4-
FROM opensciencegrid/software-base:$BASE_OSG_SERIES-el8-$BASE_YUM_REPO
4+
FROM opensciencegrid/software-base:$BASE_OSG_SERIES-el9-$BASE_YUM_REPO
55

66
LABEL maintainer OSG Software <[email protected]>
77

88
COPY . /src
99

1010
RUN yum update -y && \
11-
yum install -y python3-m2crypto && \
11+
yum install -y python3-pip python3-m2crypto && \
1212
yum clean all && \
1313
rm -rf /var/cache/yum/* && \
1414
cd /src && \
15+
pip3 install -r requirements.txt && \
1516
python3 setup.py install --root=/ && \
1617
mkdir -p /etc/osg/pki && \
1718
cp /usr/local/config/ca-issuer.conf /etc/osg/pki/

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
M2Crypto
22
argparse
3+
urllib3

0 commit comments

Comments
 (0)