Skip to content
Snippets Groups Projects
Commit 1583e58c authored by Zach's avatar Zach
Browse files

Merge pull request #128 from eris-ltd/eris/new-alpine-fix

Dockerfile builds.
parents 03325199 549d5c3b
No related branches found
No related tags found
No related merge requests found
# Pull base image. # Pull base image.
FROM quay.io/eris/base FROM quay.io/eris/build
MAINTAINER Eris Industries <support@erisindustries.com> MAINTAINER Eris Industries <support@erisindustries.com>
#-----------------------------------------------------------------------------
# dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libgmp3-dev jq && \
rm -rf /var/lib/apt/lists/*
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# install tendermint # install tendermint
...@@ -19,7 +13,7 @@ ENV REPO github.com/eris-ltd/tendermint ...@@ -19,7 +13,7 @@ ENV REPO github.com/eris-ltd/tendermint
ENV COMMIT working ENV COMMIT working
# note, we want to lock in the same commit number # note, we want to lock in the same commit number
# as eris-db has vendored. # as eris-db has vendored.
RUN mkdir --parents $GOPATH/src/$REPO RUN mkdir -p $GOPATH/src/$REPO
WORKDIR $GOPATH/src/$REPO_ALIAS WORKDIR $GOPATH/src/$REPO_ALIAS
RUN git clone --quiet https://$REPO . && \ RUN git clone --quiet https://$REPO . && \
git checkout --quiet $COMMIT && \ git checkout --quiet $COMMIT && \
...@@ -31,7 +25,7 @@ RUN git clone --quiet https://$REPO . && \ ...@@ -31,7 +25,7 @@ RUN git clone --quiet https://$REPO . && \
# set the repo and install mint-client # set the repo and install mint-client
ENV REPO github.com/eris-ltd/mint-client ENV REPO github.com/eris-ltd/mint-client
ENV BRANCH master ENV BRANCH master
RUN mkdir --parents $GOPATH/src/$REPO RUN mkdir -p $GOPATH/src/$REPO
WORKDIR $GOPATH/src/$REPO WORKDIR $GOPATH/src/$REPO
RUN git clone --quiet https://$REPO . && \ RUN git clone --quiet https://$REPO . && \
git checkout --quiet $BRANCH && \ git checkout --quiet $BRANCH && \
...@@ -84,7 +78,7 @@ RUN chown -R eris $ECM_PATH ...@@ -84,7 +78,7 @@ RUN chown -R eris $ECM_PATH
VOLUME /home/$USER/.eris VOLUME /home/$USER/.eris
WORKDIR /home/$USER/.eris WORKDIR /home/$USER/.eris
USER $USER USER $USER
RUN mkdir --parents /home/$USER/.eris/chains/tendermint RUN mkdir -p /home/$USER/.eris/chains/tendermint
ENV TMROOT /home/$USER/.eris/chains/tendermint ENV TMROOT /home/$USER/.eris/chains/tendermint
# run tendermint # run tendermint
......
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