Skip to content

Commit

Permalink
fs: fix build
Browse files Browse the repository at this point in the history
Since the rucio-clients base image switched to alma9, the fs containers were not building. The primary reason being trying to install packages from CentOS7 on alma9.
`centos-release-scl-rh`  `devtoolset-9-gcc` `devtoolset-9-gcc-c++`
The packages mentioned above are already available in alma9 and do not need to be installed separately.
  • Loading branch information
maany authored and bari12 committed Apr 16, 2024
1 parent d6b0281 commit f3db13f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions fs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ ARG TAG
FROM rucio/rucio-clients:release-$TAG

USER root
RUN yum install -y git cmake3 libcurl-devel fuse-devel
RUN yum install -y centos-release-scl-rh
RUN yum install -y devtoolset-9-gcc devtoolset-9-gcc-c++
RUN dnf install -y git cmake3 libcurl-devel fuse-devel tree

ENV HOME=/opt/app-root/src \
PATH=/opt/app-root/src/bin:/opt/app-root/bin:/opt/rh/devtoolset-9/root/usr/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Expand All @@ -15,14 +13,12 @@ ARG CACHEBUST=12
WORKDIR /opt
RUN git clone --recursive https://github.com/rucio/fuse-posix.git
WORKDIR /opt/fuse-posix
RUN ln -sf /usr/bin/cmake3 /usr/bin/cmake
RUN /bin/bash ./build.sh

ENV PATH $PATH:/opt/rucio/bin
RUN pip3 install argcomplete
RUN /etc/profile.d/rucio_init.sh

RUN yum install -y tree
RUN mkdir /ruciofs
RUN mkdir /ruciofs-cache
ENV RUCIOFS_SETTINGS_FILES_ROOT /ruciofs-settings
Expand Down

0 comments on commit f3db13f

Please sign in to comment.