Skip to content

Commit

Permalink
Fix default command
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerCarberry committed Apr 17, 2021
1 parent ab6b1e1 commit e94b8b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-py2
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ RUN apt-get -y update && \
rm -rf /opencv /opencv_contrib /var/lib/apt/lists/*

# Define default command.
CMD ["python --version"]
CMD ["python", "--version"]
2 changes: 1 addition & 1 deletion Dockerfile-py2-cuda
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ RUN apt-get -y update && \
rm -rf /opencv /opencv_contrib /var/lib/apt/lists/*

# Define default command.
CMD ["python --version"]
CMD ["python", "--version"]
2 changes: 1 addition & 1 deletion Dockerfile-py3
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ RUN apt-get -y update && \
rm -rf /opencv /opencv_contrib /var/lib/apt/lists/*

# Define default command.
CMD ["python3 --version"]
CMD ["python3", "--version"]
2 changes: 1 addition & 1 deletion Dockerfile-py3-cuda
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ RUN apt-get -y update && \
rm -rf /opencv /opencv_contrib /var/lib/apt/lists/*

# Define default command.
CMD ["python3 --version"]
CMD ["python3", "--version"]

0 comments on commit e94b8b3

Please sign in to comment.