Skip to content

Commit

Permalink
refactor docker
Browse files Browse the repository at this point in the history
  • Loading branch information
guyzsarun committed Jul 25, 2023
1 parent f89e7d0 commit a66faba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 26 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ build
CMakeFiles
tests/**/*.pyc
.github
.pytest_cache
.pytest_cache
*.tar.gz
33 changes: 8 additions & 25 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,18 @@ LABEL org.opencontainers.image.source https://github.com/guyzsarun/xrootd-cmsjso
WORKDIR /xrootd

RUN yum -y update && \
yum install -y dnf
yum install -y dnf \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
https://repo.opensciencegrid.org/osg/3.6/osg-3.6-el8-release-latest.rpm \
epel-release

RUN dnf group install -y "Development Tools"
RUN dnf -y install \
cmake \
diffutils \
file \
fuse-devel \
gcc-c++ \
git \
json-c-devel \
krb5-devel \
libtool \
libuuid-devel \
libxml2-devel \
make \
openssl-devel \
python3-devel \
python3-setuptools \
readline-devel \
systemd-devel \
zlib-devel

RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
https://repo.opensciencegrid.org/osg/3.6/osg-3.6-el8-release-latest.rpm \
epel-release

# CMS json dependency
RUN yum install -y xrootd \
RUN yum install -y cmake \
wget \
xrootd \
python3-devel \
python3-xrootd \
xrootd-devel \
https://cbs.centos.org/kojifiles/packages/jsoncpp/1.9.4/4.el8s/x86_64/jsoncpp-1.9.4-4.el8s.x86_64.rpm \
Expand Down

0 comments on commit a66faba

Please sign in to comment.