Skip to content

Commit

Permalink
core(buildgo): Use debian instead of alpine (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukkor authored Mar 8, 2019
1 parent bed0e7b commit afc942c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions buildgo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
FROM golang:1.12.0-alpine
FROM golang:1.12.0-stretch

LABEL vendor="JobTeaser" \
com.jobteaser.version="1.12.0" \
com.jobteaser.release-date="2019-03-08" \
maintainer="dev@jobteaser.com"

RUN apk add --no-cache git make gcc libc-dev pkgconfig librdkafka-dev
ENV LIBRDKAFKA_VERSION=0.11.5

RUN curl -Lk -o /root/librdkafka-${LIBRDKAFKA_VERSION}.tar.gz https://github.com/edenhill/librdkafka/archive/v${LIBRDKAFKA_VERSION}.tar.gz && \
tar -xzf /root/librdkafka-${LIBRDKAFKA_VERSION}.tar.gz -C /root && \
cd /root/librdkafka-${LIBRDKAFKA_VERSION} && \
./configure --prefix /usr && make && make install && make clean && ./configure --clean

0 comments on commit afc942c

Please sign in to comment.