diff --git a/docker/centos7.dockerfile b/docker/centos7.dockerfile index 222bf1a..360048c 100644 --- a/docker/centos7.dockerfile +++ b/docker/centos7.dockerfile @@ -81,7 +81,7 @@ ENV OMPI_MCA_btl="tcp,self" ENV OMPI_MCA_btl_base_warn_component_unused="0" # create missing readline pkgconfig file -COPY readline.pc /usr/lib64/pkgconfig/readline.pc +COPY readline_6.2.pc /usr/lib64/pkgconfig/readline.pc COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] diff --git a/docker/centos8.dockerfile b/docker/centos8.dockerfile index ab20c31..450a789 100644 --- a/docker/centos8.dockerfile +++ b/docker/centos8.dockerfile @@ -97,7 +97,7 @@ ENV OMPI_MCA_btl="tcp,self" ENV OMPI_MCA_btl_base_warn_component_unused="0" # create missing readline pkgconfig file -COPY readline.pc /usr/lib64/pkgconfig/readline.pc +COPY readline_7.0.pc /usr/lib64/pkgconfig/readline.pc COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] diff --git a/docker/readline.pc b/docker/readline_6.2.pc similarity index 100% rename from docker/readline.pc rename to docker/readline_6.2.pc diff --git a/docker/readline_7.0.pc b/docker/readline_7.0.pc new file mode 100644 index 0000000..5e8747d --- /dev/null +++ b/docker/readline_7.0.pc @@ -0,0 +1,12 @@ +prefix=/usr +exec_prefix=/usr +libdir=/usr/lib64 +includedir=/usr/include + +Name: Readline +Description: GNU Readline library for command line editing +URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html +Version: 7.0 +Requires.private: ncurses +Libs: -L\${libdir} -lreadline +Cflags: -I\${includedir}/readline