tendermint/DOCKER/Dockerfile.abci

24 lines
597 B
Docker
Raw Normal View History

2017-11-09 13:19:29 -08:00
FROM golang:latest
RUN mkdir -p /go/src/github.com/tendermint/abci
WORKDIR /go/src/github.com/tendermint/abci
COPY Makefile /go/src/github.com/tendermint/abci/
2017-11-20 16:30:10 -08:00
# see make protoc for details on ldconfig
2018-02-27 05:31:54 -08:00
RUN make get_protoc && ldconfig
2017-11-20 16:30:10 -08:00
# killall is used in tests
RUN apt-get update && apt-get install -y \
psmisc \
&& rm -rf /var/lib/apt/lists/*
2017-11-09 13:19:29 -08:00
COPY Gopkg.toml /go/src/github.com/tendermint/abci/
COPY Gopkg.lock /go/src/github.com/tendermint/abci/
2018-02-27 05:31:54 -08:00
RUN make get_tools
2017-11-09 13:19:29 -08:00
2018-02-27 05:31:54 -08:00
# see https://github.com/golang/dep/issues/1312
RUN dep ensure -vendor-only
2017-11-09 13:19:29 -08:00
2018-02-27 05:31:54 -08:00
COPY . /go/src/github.com/tendermint/abci