From b7c53393fc90608f61065556b61fcc115a4cd007 Mon Sep 17 00:00:00 2001 From: Hiarison Gigante Date: Mon, 15 Apr 2024 11:43:50 -0300 Subject: [PATCH] feat: add pip to alpine and fedora images --- alpine/Dockerfile | 2 +- fedora/Dockerfile | 2 +- readme.md | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 457f216..3cab17b 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -22,7 +22,7 @@ RUN set -ex \ libtbb@testing libtbb-dev@testing \ eigen eigen-dev \ tesseract-ocr tesseract-ocr-data-por tesseract-ocr-dev \ - python3-dev \ + py3-pip python3-dev \ linux-headers \ && pip install -q numpy \ && wget -q https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip -O opencv.zip \ diff --git a/fedora/Dockerfile b/fedora/Dockerfile index ce875de..2258e9b 100644 --- a/fedora/Dockerfile +++ b/fedora/Dockerfile @@ -20,7 +20,7 @@ RUN set -ex \ openblas openblas-devel \ protobuf protobuf-devel \ tesseract tesseract-langpack-por tesseract-devel \ - python3-numpy python3-devel \ + python3-pip python3-numpy python3-devel \ kernel-headers \ && wget -q https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip -O opencv.zip \ && wget -q https://github.com/opencv/opencv_contrib/archive/${OPENCV_VERSION}.zip -O opencv_contrib.zip \ diff --git a/readme.md b/readme.md index 45ff65f..f97ff26 100644 --- a/readme.md +++ b/readme.md @@ -6,6 +6,7 @@ Docker images with OpenCV and Python bindings - [OpenCV](https://github.com/opencv/opencv) + [contrib](https://github.com/opencv/opencv_contrib) +- pip - Numpy - Tesseract - Eigen