Skip to content

Commit

Permalink
Desperate attempt VII to fix boost installation for the base image
Browse files Browse the repository at this point in the history
  • Loading branch information
kzangeli committed Feb 26, 2024
1 parent e9c638c commit 6db7fcc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions docker/Dockerfile-ubi-base
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ ENV PAHO_VERSION='v1.3.1'
COPY ./docker/subscription-manager.conf /etc/yum/pluginconf.d/subscription-manager.conf
COPY ./docker/ubi.repo /etc/yum.repos.d/ubi.repo

RUN yum-config-manager --nogpgcheck --disable pgdg10
RUN yum-config-manager --nogpgcheck --disable pgdg11
RUN rm /var/cache/dnf/*

RUN mkdir /tmp/build

COPY ./docker/build-ubi/install-build-dependencies.sh /tmp/build/install-build-dependencies.sh
Expand Down
5 changes: 2 additions & 3 deletions docker/build-ubi/install-boost-ops-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ OPS_DEPS_CORE=(
'ca-certificates' \
)

#yum install -y http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-5.noarch.rpm
#yum install -y boost-devel
yum -y install https://rpm.pbone.net/info_idpl_80709566_distro_centosother_com_boost-devel-1.66.0-13.el8.x86_64.rpm
yum install -y http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-5.noarch.rpm
yum install -y boost-devel


yum install -y ${TO_INSTALL[@]}
Expand Down
6 changes: 3 additions & 3 deletions docker/build-ubi/install-mongo-driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@

set -e

#yum -y install http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-5.el8.noarch.rpm
#dnf -y install http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-5.el8.noarch.rpm
# dnf -y install http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-5.el8.noarch.rpm
# yum -y install https://rpm.pbone.net/info_idpl_80709566_distro_centosother_com_boost-devel-1.66.0-13.el8.x86_64.rpm

yum -y install https://rpm.pbone.net/info_idpl_80709566_distro_centosother_com_boost-devel-1.66.0-13.el8.x86_64.rpm
yum -y install http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-5.el8.noarch.rpm
yum -y install scons

echo -e "\e[1;32m Builder: installing mongo cxx driver \e[0m"
Expand Down

0 comments on commit 6db7fcc

Please sign in to comment.