Skip to content

Commit

Permalink
[Docker] Add zlib dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Huang <yi@secondstate.io>
  • Loading branch information
0yi0 authored and hydai committed Mar 13, 2024
1 parent a20f821 commit 1aac7a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion utils/docker/Dockerfile.manylinux2014-build-plugins-deps
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ ENV MANPATH /opt/rh/devtoolset-11/root/usr/share/man${MANPATH:+:${MANPATH}}
ENV INFOPATH /opt/rh/devtoolset-11/root/usr/share/info${INFOPATH:+:${INFOPATH}}
ENV PKG_CONFIG_PATH /opt/rh/devtoolset-11/root/usr/lib64/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}

RUN cd && (yum check-update || true) && yum install -y cmake wget unzip
RUN cd && (yum check-update || true) && \
yum install -y cmake wget unzip zlib-devel zlib-static

COPY install-opencvmini.sh .
ENV OPENCV_VERSION=4.8.0
Expand Down
3 changes: 2 additions & 1 deletion utils/docker/Dockerfile.manylinux_2_28-build-plugins-deps
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ ENV MANPATH /opt/rh/gcc-toolset-13/root/usr/share/man${MANPATH:+:${MANPATH}}
ENV INFOPATH /opt/rh/gcc-toolset-13/root/usr/share/info${INFOPATH:+:${INFOPATH}}
ENV PKG_CONFIG_PATH /opt/rh/gcc-toolset-13/root/usr/lib64/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}

RUN cd && (yum check-update || true) && yum install -y wget unzip
RUN cd && (yum check-update || true) && \
yum install -y wget unzip zlib-devel zlib-static

COPY install-opencvmini.sh .
ENV OPENCV_VERSION=4.8.0
Expand Down

0 comments on commit 1aac7a5

Please sign in to comment.