Skip to content
Snippets Groups Projects
Commit c777e01a authored by Ethan Buchman's avatar Ethan Buchman
Browse files

some docker fixes

parent dbcc6dc2
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,8 @@ RUN apt-get update && \
# set the repo and install tendermint -- should track vendored commit
ENV REPO github.com/tendermint/tendermint
ENV COMMIT 4ee387d0770ed379e2d524f7077938517b38cd7c
#ENV COMMIT 4ee387d0770ed379e2d524f7077938517b38cd7c
ENV COMMIT json_time
# note, we want to lock in the same commit number
# as eris-db has vendored.
RUN mkdir --parents $GOPATH/src/$REPO
......@@ -38,7 +39,7 @@ RUN cd ./cmd/erisdb && go build -o /usr/local/bin/erisdb && \
# set the repo and install mint-client
ENV REPO github.com/eris-ltd/mint-client
ENV BRANCH master
ENV BRANCH develop
RUN mkdir --parents $GOPATH/src/$REPO
WORKDIR $GOPATH/src/$REPO
RUN git clone --quiet https://$REPO . && \
......@@ -69,6 +70,10 @@ RUN mkdir -p $ECM_PATH
COPY DOCKER/chain_* $ECM_PATH/
COPY DOCKER/config.toml $ECM_PATH/
COPY DOCKER/version.sh $ECM_PATH/
#-----------------------------------------------------------------------------
# permission the directories
RUN chown -R eris /usr/local/bin
RUN chown -R eris $ECM_PATH
#-----------------------------------------------------------------------------
......
......@@ -2,7 +2,7 @@
echo "your new chain, kind marmot: $CHAIN_ID"
if [ "$GENERATE_GENESIS" = "true" ]; then
if [ ! -f $CHAIN_DIR/genesis.json ]; then
if [ "$CSV" = "" ]; then
mintgen random --dir="$CHAIN_DIR" 1 $CHAIN_ID
ifExit "Error creating random genesis file"
......
echo "ecm version 0.0.2"
# json break
echo "ecm version 0.0.3"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment