Skip to content

Commit

Permalink
Merge pull request rucio#127 from tbeerman/master
Browse files Browse the repository at this point in the history
move probes to py3
  • Loading branch information
tbeerman authored Mar 19, 2021
2 parents 0bf2c25 + 284a5a8 commit e5e955c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions probes/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,23 @@ RUN yum install -y epel-release.noarch && \
RUN yum upgrade -y && \
yum clean all && \
rm -rf /var/cache/yum
RUN yum install -y python-pip libaio gcc python-devel.x86_64 openssl-devel.x86_64 MySQL-python git && \
RUN yum -y install https://repo.ius.io/ius-release-el7.rpm &&\
yum install -y python36u-pip libaio gcc python36-devel.x86_64 openssl-devel.x86_64 MySQL-python git && \
yum clean all && \
rm -rf /var/cache/yum

RUN rpm -i /tmp/oic.rpm; \
echo "/usr/lib/oracle/12.2/client64/lib" >/etc/ld.so.conf.d/oracle.conf; \
RUN rpm -i https://download.oracle.com/otn_software/linux/instantclient/211000/oracle-instantclient-basiclite-21.1.0.0.0-1.x86_64.rpm; \
echo "/usr/lib/oracle/21/client64/lib" >/etc/ld.so.conf.d/oracle.conf; \
ldconfig

RUN rpm -i https://github.com/dshearer/jobber/releases/download/v1.4.0/jobber-1.4.0-1.el7.x86_64.rpm

RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir --upgrade setuptools
RUN rm -rf /usr/lib/python2.7/site-packages/ipaddress*
RUN pip install --no-cache-dir --pre rucio[oracle,mysql,postgresql]
RUN pip install --no-cache-dir j2cli psycopg2-binary
RUN pip install --no-cache-dir cx_oracle==6.3.1 PyMySQL
RUN python3 -m pip install --no-cache-dir --upgrade pip
RUN python3 -m pip install --no-cache-dir --upgrade setuptools
RUN rm -rf /usr/lib/python3.6/site-packages/ipaddress*
RUN python3 -m pip install --no-cache-dir --pre rucio[oracle,mysql,postgresql]
RUN python3 -m pip install --no-cache-dir j2cli psycopg2-binary
RUN python3 -m pip install --no-cache-dir cx_oracle==6.3.1 PyMySQL

WORKDIR /
RUN git clone https://github.com/rucio/probes.git
Expand Down

0 comments on commit e5e955c

Please sign in to comment.