Skip to content

For updating docker blog#471

Open
xlabd wants to merge 5 commits intospmallick:masterfrom
xlabd:master
Open

For updating docker blog#471
xlabd wants to merge 5 commits intospmallick:masterfrom
xlabd:master

Conversation

@xlabd
Copy link
Copy Markdown
Contributor

@xlabd xlabd commented Aug 17, 2020

Copy link
Copy Markdown
Collaborator

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

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

@xlabd Is it for particular post or you want to bring general purpose image for sample code?

&& wget https://raw.githubusercontent.com/spmallick/learnopencv/master/docker-opencv/Sample-Code-Cpp-Unix/sampleCode.cpp

RUN apt-get -qq -y autoremove \
&& apt-get -qq autoclean
Copy link
Copy Markdown
Collaborator

@asmorkalov asmorkalov Aug 18, 2020

Choose a reason for hiding this comment

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

It should be done at the end of each RUN command with apt as Docker stores dedicated layer for each RUN.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the information!

@xlabd
Copy link
Copy Markdown
Contributor Author

xlabd commented Aug 18, 2020

This is a general-purpose docker image with Python 3, CPP, and OpenCV 4.4.0 installed.
Sample code is for the users to check whether the image runs correctly.
This image will be updated in the blog post

@asmorkalov
Copy link
Copy Markdown
Collaborator

I added alternative solution several days ago: #453. M.b. we need to align the images or use one for both cases?

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.

2 participants