From d474baeeea6c22b289e7402449572f7c89ee21da Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Wed, 8 Mar 2017 14:05:32 +0400 Subject: [PATCH] update Dockerfile for 0.9.0 release --- DOCKER/Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/DOCKER/Dockerfile b/DOCKER/Dockerfile index 947301e75..3b710596d 100644 --- a/DOCKER/Dockerfile +++ b/DOCKER/Dockerfile @@ -1,7 +1,8 @@ FROM alpine:3.5 # This is the release of tendermint to pull in. -ENV TM_VERSION 0.8.0 +ENV TM_VERSION 0.9.0 +ENV TM_SHA256SUM 697033ea0f34f8b34a8a2b74c4dd730b47dd4efcfce65e53e953bdae8eb14364 # Tendermint will be looking for genesis file in /tendermint (unless you change # `genesis_file` in config.toml). You can put your config.toml and private @@ -25,11 +26,11 @@ RUN mkdir -p $DATA_ROOT && \ RUN apk add --no-cache bash curl jq RUN apk add --no-cache openssl && \ - wget https://s3-us-west-2.amazonaws.com/tendermint/${TM_VERSION}/tendermint_linux_amd64.zip && \ - echo "83f6bd52055ebc93434a68263c6666a4de41e0e543d0b5a06ad461262c460f4c tendermint_linux_amd64.zip" | sha256sum -c && \ - unzip -d /bin tendermint_linux_amd64.zip && \ + wget https://s3-us-west-2.amazonaws.com/tendermint/${TM_VERSION}/tendermint_${TM_VERSION}_linux_amd64.zip && \ + echo "${TM_SHA256SUM} tendermint_${TM_VERSION}_linux_amd64.zip" | sha256sum -c && \ + unzip -d /bin tendermint_${TM_VERSION}_linux_amd64.zip && \ apk del openssl && \ - rm -f tendermint_linux_amd64.zip + rm -f tendermint_${TM_VERSION}_linux_amd64.zip # Expose the data directory as a volume since there's mutable state in there VOLUME $DATA_ROOT