Github user ted-ross commented on a diff in the pull request:

    https://github.com/apache/qpid-dispatch/pull/40#discussion_r47559389
  
    --- Diff: dockerfiles/Dockerfile-fedora ---
    @@ -0,0 +1,56 @@
    +#
    +# Licensed to the Apache Software Foundation (ASF) under one
    +# or more contributor license agreements.  See the NOTICE file
    +# distributed with this work for additional information
    +# regarding copyright ownership.  The ASF licenses this file
    +# to you under the Apache License, Version 2.0 (the
    +# "License"); you may not use this file except in compliance
    +# with the License.  You may obtain a copy of the License at
    +#
    +#   http://www.apache.org/licenses/LICENSE-2.0
    +#
    +# Unless required by applicable law or agreed to in writing,
    +# software distributed under the License is distributed on an
    +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    +# KIND, either express or implied.  See the License for the
    +# specific language governing permissions and limitations
    +# under the License.
    +#
    +
    +# 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
    +# 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)
    +
    +# Gets the latest Fedora from dockerhub
    +FROM fedora:latest
    +
    +#Uncomment the following line to specify a maintainer
    +#MAINTAINER John Doe "j...@apache.org"
    +
    +# Install all the required packages. Some in this list were picked off 
from proton's INSTALL.md 
(https://github.com/apache/qpid-proton/blob/master/INSTALL.md) and the rest are 
from dispatch (https://github.com/apache/qpid-dispatch/blob/master/README)
    +RUN dnf -y install gcc cmake libuuid-devel openssl-devel cyrus-sasl-devel 
cyrus-sasl-plain cyrus-sasl-gssapi cyrus-sasl-md5 swig python-devel ruby-devel 
php-devel perl-devel java-1.8.0-openjdk-devel git make doxygen valgrind emacs
    +
    +# Create a main directory and clone the qpid-proton repo from github
    +RUN mkdir /main && cd /main && git clone 
https://github.com/apache/qpid-proton.git && cd /main/qpid-proton && mkdir 
/main/qpid-proton/build
    +
    +WORKDIR /main/qpid-proton/build
    +
    +# make and install proton
    +RUN cmake .. -DSYSINSTALL_BINDINGS=ON && make install
    +
    +# Clone the qpid-dispatch git repo
    +RUN cd /main && git clone https://github.com/apache/qpid-dispatch.git && 
mkdir /main/qpid-dispatch/build
    +
    +WORKDIR /main/qpid-dispatch/build
    +RUN cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make install
    +
    +ENV LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH
    --- End diff --
    
    This would not be necessary if you installed proton in /usr like you did 
with dispatch.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to