Skip to content

Conversation

@fg-mindee
Copy link
Contributor

@fg-mindee fg-mindee commented Jan 15, 2021

The cv2 dependency of the docker is not correctly set up by pip and some OS-level deps are needed. This PR adds required dependencies for opencv.

Surprisingly, pip was not doing a good job at it: by adding the OS-level deps, the image size drops significantly from 1.2Gb+ to less than 700Mb.

Expected docker image size is 673Mb, the build is a bit longer than before with the OS deps installation.

Any feedback is welcome!

@fg-mindee fg-mindee added critical High priority topic: docker Docker-related labels Jan 15, 2021
@fg-mindee fg-mindee added this to the 0.1.0 milestone Jan 15, 2021
@fg-mindee fg-mindee self-assigned this Jan 15, 2021
@codecov
Copy link

codecov bot commented Jan 15, 2021

Codecov Report

Merging #19 (8775424) into main (6f59f78) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #19   +/-   ##
=======================================
  Coverage   91.48%   91.48%           
=======================================
  Files           4        4           
  Lines          94       94           
=======================================
  Hits           86       86           
  Misses          8        8           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f59f78...8775424. Read the comment docs.

@fg-mindee fg-mindee merged commit 9abdf11 into main Jan 15, 2021
@fg-mindee fg-mindee deleted the docker-fix branch January 15, 2021 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

critical High priority topic: docker Docker-related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants