File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ ENV LC_ALL=en_US.UTF-8
1313ENV LC_CTYPE=en_US.UTF-8
1414ENV MODULEPATH=/etc/scl/modulefiles:/etc/scl/modulefiles:/etc/scl/modulefiles:/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles:/dls_sw/apps/Modules/modulefiles:/dls_sw/etc/modulefiles:/home/hgv27681/privatemodules:/dls_sw/prod/tools/RHEL8-x86_64/defaults/modulefiles
1515
16+ # switch to the vault for centos packages!
17+ RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
18+ sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
19+ sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
20+
1621# make QT not complain
1722ENV QT_X11_NO_MITSHM=1
1823ENV LIBGL_ALWAYS_INDIRECT=1
@@ -42,6 +47,11 @@ RUN yum update -y && \
4247 # https://github.com/containers/fuse-overlayfs/pull/381
4348 rm -fr /var/lib/yum/yumdb/*
4449
50+ # install the required libusb developer library
51+ RUN curl -SL https://rpmfind.net/linux/opensuse/distribution/leap/15.5/repo/oss/x86_64/libusb-1_0-devel-1.0.24-150400.3.3.1.x86_64.rpm -o /tmp/libusb-devel-1.rpm && \
52+ yum install /tmp/libusb-devel-1.rpm
53+ rm /tmp/libusb-devel-1.rpm
54+
4555# full sudo rights inside the container
4656COPY /sudoers /etc/sudoers
4757
You can’t perform that action at this time.
0 commit comments