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
c777e01a
Commit
c777e01a
authored
9 years ago
by
Ethan Buchman
Browse files
Options
Downloads
Patches
Plain Diff
some docker fixes
parent
dbcc6dc2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
DOCKER/Dockerfile
+7
-2
7 additions, 2 deletions
DOCKER/Dockerfile
DOCKER/chain_new.sh
+1
-1
1 addition, 1 deletion
DOCKER/chain_new.sh
DOCKER/version.sh
+2
-1
2 additions, 1 deletion
DOCKER/version.sh
with
10 additions
and
4 deletions
DOCKER/Dockerfile
+
7
−
2
View file @
c777e01a
...
...
@@ -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
#-----------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
DOCKER/chain_new.sh
+
1
−
1
View file @
c777e01a
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
DOCKER/version.sh
+
2
−
1
View file @
c777e01a
echo
"ecm version 0.0.2"
# json break
echo
"ecm version 0.0.3"
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