This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-openwhisk-runtime-go.git


The following commit(s) were added to refs/heads/master by this push:
     new d787163  add support for confluent-go-kafka library adding librdkafka 
to the Go image (#71)
d787163 is described below

commit d78716340262d71d7c579ff47a00cce3c39f65f8
Author: Michele Sciabarra <30654959+sciabarra...@users.noreply.github.com>
AuthorDate: Wed Feb 13 13:59:37 2019 +0100

    add support for confluent-go-kafka library adding librdkafka to the Go 
image (#71)
---
 golang1.11/Dockerfile | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/golang1.11/Dockerfile b/golang1.11/Dockerfile
index 05415dc..6b68c38 100644
--- a/golang1.11/Dockerfile
+++ b/golang1.11/Dockerfile
@@ -1,10 +1,17 @@
 FROM golang:1.11.4
-RUN apt-get update && apt-get install -y \
-    curl \
-    jq \
-    git \
-    realpath \
-    && rm -rf /var/lib/apt/lists/*
+RUN echo "deb http://deb.debian.org/debian stretch-backports main contrib 
non-free" \
+     >>/etc/apt/sources.list &&\
+    apt-get update && apt-get install -y \
+     curl \
+     jq \
+     git \
+     realpath &&\
+    apt-get -y install \
+     librdkafka1=0.11.6-1~bpo9+1 \
+     librdkafka++1=0.11.6-1~bpo9+1 && \
+    apt-get -y install \
+     librdkafka-dev=0.11.6-1~bpo9+1 && \
+    rm -rf /var/lib/apt/lists/*
 RUN mkdir /action
 WORKDIR /action
 ADD proxy /bin/proxy

Reply via email to