devinbost commented on issue #7463:
URL: https://github.com/apache/pulsar/issues/7463#issuecomment-654470042


   When I try to use the new client with this dockerfile:
   
   ```
   FROM ubuntu:16.04 as builder 
   RUN apt-get update -y && apt-get install wget git curl gcc -y
   RUN wget https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz && \
       tar -xvf go1.13.3.linux-amd64.tar.gz && \
       mv go /usr/local
   
   ENV GOPATH /go
   ENV GOROOT /usr/local/go
   ENV PATH $GOROOT/bin:$GOPATH/bin:$PATH
   RUN mkdir -p /go/bin
   RUN go get -u github.com/apache/pulsar/pulsar-client-go/pulsar
   ```
   I get this error:
   
   ```
   Step 8/8 : RUN go get -u github.com/apache/pulsar/pulsar-client-go/pulsar
    ---> Running in 823872c2bfcb
   # github.com/apache/pulsar/pulsar-client-go/pulsar
   In file included from 
go/src/github.com/apache/pulsar/pulsar-client-go/pulsar/c_client.go:24:0:
   ./c_go_pulsar.h:22:29: fatal error: pulsar/c/client.h: No such file or 
directory
   compilation terminated.
   ```
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to