dist command to make binaries and package them for distribution

This commit is contained in:
Anton Kaliaev
2017-01-23 14:45:13 +04:00
parent c6375e414d
commit cc2457f7d5
5 changed files with 119 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM golang:1.7.4
RUN apt-get update && apt-get install -y --no-install-recommends \
zip \
&& rm -rf /var/lib/apt/lists/*
# We want to ensure that release builds never have any cgo dependencies so we
# switch that off at the highest level.
ENV CGO_ENABLED 0
RUN mkdir -p $GOPATH/src/github.com/tendermint/tendermint
WORKDIR $GOPATH/src/github.com/tendermint/tendermint