Skip to content

Commit

Permalink
use fixed version of glide
Browse files Browse the repository at this point in the history
  • Loading branch information
felipejfc committed Jan 23, 2017
1 parent eb617e9 commit 77ee5f8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ FROM golang:1.7.3-alpine
MAINTAINER TFG Co <backend@tfgco.com>

RUN apk update
RUN apk add make git curl g++ bash python
RUN apk add make git g++ bash python wget

ENV LIBRDKAFKA_VERSION 0.9.2
RUN curl -Lk -o /root/librdkafka-${LIBRDKAFKA_VERSION}.tar.gz https://github.com/edenhill/librdkafka/archive/v${LIBRDKAFKA_VERSION}.tar.gz && \
RUN wget -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 && make && make install && make clean && ./configure --clean

RUN go get -u github.com/Masterminds/glide
RUN wget https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-linux-amd64.tar.gz
RUN tar -zxvf glide-v0.12.3-linux-amd64.tar.gz
RUN chmod +x linux-amd64/glide && mv linux-amd64/glide /usr/local/bin/glide

RUN mkdir -p /go/src/github.com/topfreegames/pusher
WORKDIR /go/src/github.com/topfreegames/pusher
Expand Down

0 comments on commit 77ee5f8

Please sign in to comment.