Browse Source

Merge pull request #429 from tendermint/update-docker-image-for-0.9.0

update Dockerfile for 0.9.0 release
pull/432/head
Anton Kaliaev 8 years ago
committed by GitHub
parent
commit
524f3b2d57
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      DOCKER/Dockerfile

+ 6
- 5
DOCKER/Dockerfile View File

@ -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


Loading…
Cancel
Save