forked from WasmEdge/WasmEdge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Docker] manylinux plugins deps pre-built image (WasmEdge#2737)
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
ARG BASE=wasmedge/wasmedge:manylinux2014_x86_64 | ||
FROM ${BASE} | ||
|
||
ENV PATH /opt/rh/devtoolset-11/root/usr/bin${PATH:+:${PATH}} | ||
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 | ||
|
||
COPY install-opencvmini.sh . | ||
ENV OPENCV_VERSION=4.8.0 | ||
RUN [ "/bin/bash", "install-opencvmini.sh" ] | ||
|
||
RUN yum clean all |