This is an automated email from the ASF dual-hosted git repository.
gmurthy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/master by this push:
new 586f70d NO-JIRA - Fixed some comments in the Ubuntu and Fedora docker
files and changed CMD to ENTRYPOINT
586f70d is described below
commit 586f70d027ad2bd90d6b7b0192e278acfbd76244
Author: Ganesh Murthy <[email protected]>
AuthorDate: Tue Feb 19 15:29:30 2019 -0500
NO-JIRA - Fixed some comments in the Ubuntu and Fedora docker files and
changed CMD to ENTRYPOINT
---
dockerfiles/Dockerfile-fedora | 6 +++---
dockerfiles/Dockerfile-ubuntu | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dockerfiles/Dockerfile-fedora b/dockerfiles/Dockerfile-fedora
index 51e450f..0c041d8 100644
--- a/dockerfiles/Dockerfile-fedora
+++ b/dockerfiles/Dockerfile-fedora
@@ -19,8 +19,8 @@
# Downloads and installs apache proton and qpid dispatch on the latest version
of Fedora and starts the dispatch router
# /main is the top level folder under which proton (/main/qpid-proton/) and
dispatch (/main/qpid-dispatch) source code is downloaded from github
-# /usr/local/lib64 is the folder in which the proton artifacts are installed.
-# /usr/local/sbin is the folder in which dispatch executable installed
+# /usr/lib64 is the folder in which the proton artifacts are installed.
+# /usr/sbin is the folder in which dispatch executable installed
# Copy this docker file to your local folder. Build the docker file like this
- sudo docker build -t <username>/dispatch --file=Dockerfile-fedora . (don't
miss the dot at the end)
# To run it - sudo docker run -i -t <username>/dispatch (this will launch the
dispatch router)
@@ -50,5 +50,5 @@ RUN cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make install
# RUN ctest -VV
# Start the dispatch router
-CMD ["qdrouterd"]
+ENTRYPOINT ["qdrouterd"]
# CMD ["/bin/bash"]
diff --git a/dockerfiles/Dockerfile-ubuntu b/dockerfiles/Dockerfile-ubuntu
index eb499e5..f7efd40 100644
--- a/dockerfiles/Dockerfile-ubuntu
+++ b/dockerfiles/Dockerfile-ubuntu
@@ -52,5 +52,5 @@ ENV PYTHONPATH=/usr/lib/python2.7/site-packages
WORKDIR /qpid-dispatch
# Start the dispatch router
-CMD ["qdrouterd"]
+ENTRYPOINT ["qdrouterd"]
#CMD ["/bin/bash"]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]