Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
burrow
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hang Yu
burrow
Commits
1583e58c
Commit
1583e58c
authored
8 years ago
by
Zach
Browse files
Options
Downloads
Plain Diff
Merge pull request #128 from eris-ltd/eris/new-alpine-fix
Dockerfile builds.
parents
03325199
549d5c3b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DOCKER/Dockerfile
+4
-10
4 additions, 10 deletions
DOCKER/Dockerfile
with
4 additions
and
10 deletions
DOCKER/Dockerfile
+
4
−
10
View file @
1583e58c
# Pull base image.
# Pull base image.
FROM
quay.io/eris/b
ase
FROM
quay.io/eris/b
uild
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment