FROM golang:1.12.1-alpine3.9
MAINTAINER Monax <support@monax.io>

ENV DOCKER_VERSION "17.12.1-ce"
ENV GORELEASER_VERSION "v0.104.1"
# This is the image used by the Circle CI config
# Update remote with 'make push_ci_image'
RUN apk add --update --no-cache \
 nodejs \
 npm \
 netcat-openbsd \
 git \
 openssh-client \
 openssl \
 make \
 bash \
 gcc \
 g++ \
 jq \
 curl \
 docker \
 libffi-dev \
 openssl-dev \
 python-dev \
 py-pip
RUN pip install docker-compose
# get docker client
WORKDIR /usr/bin
RUN curl -sS -L https://download.docker.com/linux/static/stable/x86_64/docker-$DOCKER_VERSION.tgz | tar xz --strip-components 1 docker/docker
RUN curl -sS -L https://github.com/goreleaser/goreleaser/releases/download/$GORELEASER_VERSION/goreleaser_Linux_x86_64.tar.gz | tar xz goreleaser
RUN npm install -g mocha
RUN npm install -g mocha-circleci-reporter
ENV CI=true
# Protobuf builds require being in GOPATH (more or less) but this disables module support by default
ENV GO111MODULE=on
WORKDIR /go/src/github.com/hyperledger/burrow

FROM golang:1.12.6-alpine3.10
MAINTAINER Monax <support@monax.io>

ENV DOCKER_VERSION "17.12.1-ce"
ENV GORELEASER_VERSION "v0.104.1"
# This is the image used by the Circle CI config
# Update remote with 'make push_ci_image'
RUN apk add --update --no-cache \
 nodejs \
 npm \
 netcat-openbsd \
 git \
 openssh-client \
 openssl \
 make \
 bash \
 gcc \
 g++ \
 jq \
 curl \
 docker \
 libffi-dev \
 openssl-dev \
 python-dev \
 py-pip
RUN pip install docker-compose
# get docker client
WORKDIR /usr/bin
RUN curl -sS -L https://download.docker.com/linux/static/stable/x86_64/docker-$DOCKER_VERSION.tgz | tar xz --strip-components 1 docker/docker
RUN curl -sS -L https://github.com/goreleaser/goreleaser/releases/download/$GORELEASER_VERSION/goreleaser_Linux_x86_64.tar.gz | tar xz goreleaser
RUN npm install -g mocha
RUN npm install -g mocha-circleci-reporter
ENV CI=true
# Protobuf builds require being in GOPATH (more or less) but this disables module support by default
ENV GO111MODULE=on
WORKDIR /go/src/github.com/hyperledger/burrow

Update CI image to newer Go
Update CI image to newer Go

Signed-off-by: Silas Davis <3c8a78ce9992bdcf14c1f3b12b50922766d51691@monax.io>
