You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start from line 79.
1.
Why don't you use the dockerfile.fix method to build the docker image?
Are the dockerfile.original and dockerfile.fix same step to build docker image?
2.
What is the advantage of the dockerfile.original method (a chain of FROM xxx AS xxx)?
dockerfile.original
FROM ubuntu:18.04 AS copy_openvino
RUN cmd (copy_openvino) ...
FROM copy_openvino AS openvino
RUN cmd (openvino) ...
FROM openvino AS opencv
RUN cmd (opencv) ...
FROM opencv as openvino_repo
RUN cmd (openvino_repo) ...
dockerfile.fix
comment the redundant FROM xxx AS xxx
FROM ubuntu:18.04 AS copy_openvino
RUN cmd (copy_openvino) ...
# FROM copy_openvino AS openvino
RUN cmd (openvino) ...
# FROM openvino AS opencv
RUN cmd (opencv) ...
# FROM opencv as openvino_repo
RUN cmd (openvino_repo) ...
The text was updated successfully, but these errors were encountered:
The dockerfile is very great.
https://github.com/openvinotoolkit/docker_ci/blob/master/dockerfiles/ubuntu18/build_custom/Dockerfile
Start from line 79.
1.
Why don't you use the dockerfile.fix method to build the docker image?
Are the dockerfile.original and dockerfile.fix same step to build docker image?
2.
What is the advantage of the dockerfile.original method (a chain of FROM xxx AS xxx)?
dockerfile.original
dockerfile.fix
comment the redundant FROM xxx AS xxx
The text was updated successfully, but these errors were encountered: