Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
need to install the epel repo before the mjolnir dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsnolde committed Aug 9, 2023
1 parent 7e3e5c7 commit c9d4595
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/build_scripts/finalize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ elif [ "${AUDITWHEEL_POLICY}" == "manylinux_2_24" ]; then
make -C build install
elif [ "${AUDITWHEEL_POLICY}" == "manylinux_2_28" ]; then
PACKAGE_MANAGER=dnf
# valhalla, skip mjolnir deps for now
# valhalla
COMPILE_DEPS="libcurl-devel luajit-devel geos-devel libspatialite-devel"
# install protobuf v3.21.1, not sure anymore why we're doing this?!
git clone --recurse-submodules https://github.com/protocolbuffers/protobuf.git && cd protobuf
Expand All @@ -127,10 +127,12 @@ elif [ "${PACKAGE_MANAGER}" == "apt" ]; then
apt-get clean -qq
rm -rf /var/lib/apt/lists/*
elif [ "${PACKAGE_MANAGER}" == "dnf" ]; then
dnf -y update
dnf -y install epel-release
dnf -y update
dnf -y install --allowerasing ${COMPILE_DEPS}
dnf clean all
rm -rf /var/cache/yum
rm -rf /var/cache/dnf
else
echo "${PACKAGE_MANAGER} is not implemented"
exit 1
Expand Down

0 comments on commit c9d4595

Please sign in to comment.