[ 
https://issues.apache.org/jira/browse/DISPATCH-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Birgen Geelen updated DISPATCH-2336:
------------------------------------
    Description: 
2 issues while building the docker image using command:

sudo docker build -t docker-image-name --file=Dockerfile-ubuntu
 * 1st Error raised is:

{code:java}
STEP 5/13: RUN pip3 install quart selectors grpcio protobuf h2
/bin/sh: 1: pip3: not found
Error: error building at STEP "RUN pip3 install quart selectors grpcio protobuf 
h2": error while running runtime: exit status 127 {code}
Can be fixed by adding python3-pip to the list of packages to be installed 
Dockerfile-ubuntu.

 

 
 * 2nd error: incorrect change directory statement

Diff for fix:

diff Dockerfile-ubuntu Dockerfile-ubuntu.old
29c29
<     apt-get install -y curl gcc g++ automake libwebsockets-dev libtool 
zlib1g-dev cmake libsasl2-dev libssl-dev libnghttp2-dev python3-dev 
*_+python3-pip+_* libuv1-dev sasl2-bin swig maven git && \
—
>     apt-get install -y curl gcc g++ automake libwebsockets-dev libtool 
> zlib1g-dev cmake libsasl2-dev libssl-dev libnghttp2-dev python3-dev 
> libuv1-dev sasl2-bin swig maven git && \
34c34
< RUN git clone [https://gitbox.apache.org/repos/asf/qpid-dispatch.git] && cd 
*_+qpid-dispatch+_* && git submodule add 
[https://gitbox.apache.org/repos/asf/qpid-proton.git] && git submodule update 
--init
—
> RUN git clone [https://gitbox.apache.org/repos/asf/qpid-dispatch.git] && cd 
> /qpid-dispatch && git submodule add 
> [https://gitbox.apache.org/repos/asf/qpid-proton.git] && git submodule update 
> --init

  was:
2 issues while building the docker image using command:

sudo docker build -t docker-image-name --file=Dockerfile-ubuntu
 * 1st Error raised is:

{code:java}
STEP 5/13: RUN pip3 install quart selectors grpcio protobuf h2
/bin/sh: 1: pip3: not found
Error: error building at STEP "RUN pip3 install quart selectors grpcio protobuf 
h2": error while running runtime: exit status 127 {code}
Can be fixed by adding python3-pip to the list of packages to be installed 
Dockerfile-ubuntu.

 

 
 * 2nd error: missing "." in change directory statement

Diff for fix:

diff Dockerfile-ubuntu Dockerfile-ubuntu.old
29c29
<     apt-get install -y curl gcc g++ automake libwebsockets-dev libtool 
zlib1g-dev cmake libsasl2-dev libssl-dev libnghttp2-dev python3-dev 
*_+python3-pip+_* libuv1-dev sasl2-bin swig maven git && \
---
>     apt-get install -y curl gcc g++ automake libwebsockets-dev libtool 
> zlib1g-dev cmake libsasl2-dev libssl-dev libnghttp2-dev python3-dev 
> libuv1-dev sasl2-bin swig maven git && \
34c34
< RUN git clone https://gitbox.apache.org/repos/asf/qpid-dispatch.git && cd 
*_+./qpid-dispatch+_* && git submodule add 
https://gitbox.apache.org/repos/asf/qpid-proton.git && git submodule update 
--init
---
> RUN git clone https://gitbox.apache.org/repos/asf/qpid-dispatch.git && cd 
> /qpid-dispatch && git submodule add 
> https://gitbox.apache.org/repos/asf/qpid-proton.git && git submodule update 
> --init


> Dockerfile-ubuntu not building
> ------------------------------
>
>                 Key: DISPATCH-2336
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2336
>             Project: Qpid Dispatch
>          Issue Type: Bug
>    Affects Versions: 1.18.0
>            Reporter: Birgen Geelen
>            Assignee: Jiri Daněk
>            Priority: Minor
>             Fix For: 1.19.0
>
>
> 2 issues while building the docker image using command:
> sudo docker build -t docker-image-name --file=Dockerfile-ubuntu
>  * 1st Error raised is:
> {code:java}
> STEP 5/13: RUN pip3 install quart selectors grpcio protobuf h2
> /bin/sh: 1: pip3: not found
> Error: error building at STEP "RUN pip3 install quart selectors grpcio 
> protobuf h2": error while running runtime: exit status 127 {code}
> Can be fixed by adding python3-pip to the list of packages to be installed 
> Dockerfile-ubuntu.
>  
>  
>  * 2nd error: incorrect change directory statement
> Diff for fix:
> diff Dockerfile-ubuntu Dockerfile-ubuntu.old
> 29c29
> <     apt-get install -y curl gcc g++ automake libwebsockets-dev libtool 
> zlib1g-dev cmake libsasl2-dev libssl-dev libnghttp2-dev python3-dev 
> *_+python3-pip+_* libuv1-dev sasl2-bin swig maven git && \
> —
> >     apt-get install -y curl gcc g++ automake libwebsockets-dev libtool 
> > zlib1g-dev cmake libsasl2-dev libssl-dev libnghttp2-dev python3-dev 
> > libuv1-dev sasl2-bin swig maven git && \
> 34c34
> < RUN git clone [https://gitbox.apache.org/repos/asf/qpid-dispatch.git] && cd 
> *_+qpid-dispatch+_* && git submodule add 
> [https://gitbox.apache.org/repos/asf/qpid-proton.git] && git submodule update 
> --init
> —
> > RUN git clone [https://gitbox.apache.org/repos/asf/qpid-dispatch.git] && cd 
> > /qpid-dispatch && git submodule add 
> > [https://gitbox.apache.org/repos/asf/qpid-proton.git] && git submodule 
> > update --init



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to