title: Building Go Application using confluent-kafka-go on Linux
body: <p>I am trying to create a docker image with my go application. The application (which was developed on MacOS) depends on <code>confluent-kafka-go</code> which in turn depends on <code>librdkafka-dev</code> which I install in the Docker image like so:</p>
  
  <pre><code>FROM golang:1.1
  RUN apt-get update
  RUN apt-get -y install librdkafka-dev
  
  VOLUME /workspace
  WORKDIR /workspace/src/my/app/folder
  ENTRYPOINT ["/bin/sh", "-c"]
  </code></pre>
  
  <p>I am getting the following error:</p>
  
  <p>my/app/folder/vendor/github.com/confluentinc/confluent-kafka-go/kafka
  ../folder/vendor/github.com/confluentinc/confluent-kafka-go/kafka/00version.go:44:2: error: #error "confluent-kafka-go requires librdkafka v0.11.5 or later. Install the latest version of librdkafka from the Confluent repositories, see <a href="http://docs.confluent.io/current/installation.html" rel="noreferrer">http://docs.confluent.io/current/installation.html</a>"</p>
  
  <p>As far as I understand the latest version <strong>is</strong> installed.
  How can I fix it?</p>