Skip to content

Conversation

@hipudding
Copy link
Contributor

Base OpenEuler 22.03.SP2 docker image for CI.
This docker image is suitable for Ascend310 series npus.

This docker image is suitable for Ascend310 series npus.
Comment on lines 6 to 16
RUN yum install -y \
git \
wget \
gcc \
g++ \
cmake \
make \
python-pip \
python3-devel \
xorg-x11-server-Xvfb \
ninja-build
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about libs for image and video encoding / decoding (see below)? Are they in the base image openeuler/openeuler:22.03-lts-sp2 already?

libjpeg-dev \
libpng-dev \
libtiff5-dev \
libopenjp2-7-dev \
libraw-dev \
libavif-dev \
libgtk-3-dev \
libavcodec-dev \
libavformat-dev \
libswscale-dev \

We may need them if testing dnn (load images or videos).

Copy link
Contributor Author

@hipudding hipudding Nov 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, these libs are not in openeuler base image. I add some of them which can installed by yum.
Have a quick try with test cases for dnn. It seems these libs are not required.
If someone find some missing libs in the future, it should built by source code and update this dockerfile.

These libs for image and video encodeing/decoding may used by testing
dnn. Add them as other dockerfiles do.

Add python module requests, which is need for downloading dnn models.
@asmorkalov
Copy link
Contributor

Built and pushed: quay.io/opencv-ci/opencv-openeuler-22.03.sp2-ascend310:20231107

@hipudding
Copy link
Contributor Author

Built and pushed: quay.io/opencv-ci/opencv-openeuler-22.03.sp2-ascend310:20231107

Thanks!

@fengyuentau
Copy link
Collaborator

Built and pushed: quay.io/opencv-ci/opencv-openeuler-22.03.sp2-ascend310:20231107

@hipudding Please doublecheck on your side whether this image works correctly.

@hipudding
Copy link
Contributor Author

Built and pushed: quay.io/opencv-ci/opencv-openeuler-22.03.sp2-ascend310:20231107

@hipudding Please doublecheck on your side whether this image works correctly.

Docker image checked. Successfully compiles and passes test cases in Cannops.

@asmorkalov asmorkalov merged commit 3995050 into opencv-infrastructure:main Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants