Fix library search path in Docker image

This commit is contained in:
Ilya Fedin 2022-11-04 12:30:32 +04:00 committed by John Preston
parent 6ff3d9f975
commit 820d367e78
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@
# syntax=docker/dockerfile:1
FROM centos:7 AS builder-base
ENV LIBRARY_PATH /usr/local/lib64:/usr/local/lib:/lib64:/lib:/usr/lib64:/usr/lib
ENV LD_LIBRARY_PATH $LIBRARY_PATH
ENV PKG_CONFIG_PATH /usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig
RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \