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
ee7977db
Commit
ee7977db
authored
9 years ago
by
Casey Kuhlman
Browse files
Options
Downloads
Patches
Plain Diff
expose proper ports on eris-db image
parent
be74de6c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DOCKER/Dockerfile
+11
-5
11 additions, 5 deletions
DOCKER/Dockerfile
circle.yml
+1
-1
1 addition, 1 deletion
circle.yml
with
12 additions
and
6 deletions
DOCKER/Dockerfile
+
11
−
5
View file @
ee7977db
...
@@ -20,11 +20,13 @@ COPY DOCKER/start.sh /usr/local/bin/erisdb-wrapper
...
@@ -20,11 +20,13 @@ COPY DOCKER/start.sh /usr/local/bin/erisdb-wrapper
# set the repo and install tendermint
# set the repo and install tendermint
ENV
REPO github.com/tendermint/tendermint
ENV
REPO github.com/tendermint/tendermint
ENV
BRANCH permissions
ENV
BRANCH f2f437a328cb3e277bc4ac74e4a1180f1c28efbc
# note, we want to lock in the same commit number
# as eris-db has vendored.
RUN
mkdir
--parents
$GOPATH
/src/
$REPO
RUN
mkdir
--parents
$GOPATH
/src/
$REPO
WORKDIR
$GOPATH/src/$REPO
WORKDIR
$GOPATH/src/$REPO
RUN
git clone https://
$REPO
.
&&
\
RUN
git clone
--quiet
https://
$REPO
.
&&
\
git checkout
$BRANCH
&&
\
git checkout
--quiet
$BRANCH
&&
\
go build
-o
/usr/local/bin/tendermint ./cmd/tendermint
go build
-o
/usr/local/bin/tendermint ./cmd/tendermint
# set the repo and install erisdb
# set the repo and install erisdb
...
@@ -39,8 +41,8 @@ ENV REPO github.com/eris-ltd/mint-client
...
@@ -39,8 +41,8 @@ ENV REPO github.com/eris-ltd/mint-client
ENV
BRANCH master
ENV
BRANCH master
RUN
mkdir
--parents
$GOPATH
/src/
$REPO
RUN
mkdir
--parents
$GOPATH
/src/
$REPO
WORKDIR
$GOPATH/src/$REPO
WORKDIR
$GOPATH/src/$REPO
RUN
git clone https://
$REPO
.
&&
\
RUN
git clone
--quiet
https://
$REPO
.
&&
\
git checkout
$BRANCH
&&
\
git checkout
--quiet
$BRANCH
&&
\
go
install
./...
&&
\
go
install
./...
&&
\
mv
$GOPATH
/bin/mint
*
/usr/local/bin
&&
\
mv
$GOPATH
/bin/mint
*
/usr/local/bin
&&
\
mv
./mint-client /usr/local/bin/
mv
./mint-client /usr/local/bin/
...
@@ -65,4 +67,8 @@ ENV TMROOT /home/$USER/.eris/blockchains/tendermint
...
@@ -65,4 +67,8 @@ ENV TMROOT /home/$USER/.eris/blockchains/tendermint
# run tendermint
# run tendermint
# really should be entrypoint but broken in API 1.19
# really should be entrypoint but broken in API 1.19
# ports: 1337:eris-db API; 46656:mint-peer; 46657:mint-rpc
EXPOSE
1337
EXPOSE
46656
EXPOSE
46657
CMD
["erisdb-wrapper"]
CMD
["erisdb-wrapper"]
This diff is collapsed.
Click to expand it.
circle.yml
+
1
−
1
View file @
ee7977db
...
@@ -31,7 +31,7 @@ deployment:
...
@@ -31,7 +31,7 @@ deployment:
-
docker push eris/erisdb:0.10
-
docker push eris/erisdb:0.10
unstable
:
unstable
:
branch
:
develop
branch
:
develop
comands
:
com
m
ands
:
-
"
export
ERISDB_BUILD_BRANCH=$CIRCLE_BRANCH
&&
DOCKER/build.sh"
-
"
export
ERISDB_BUILD_BRANCH=$CIRCLE_BRANCH
&&
DOCKER/build.sh"
-
docker tag eris/erisdb:$CIRCLE_BRANCH eris/db:unstable
-
docker tag eris/erisdb:$CIRCLE_BRANCH eris/db:unstable
-
docker push eris/erisdb:unstable
-
docker push eris/erisdb:unstable
\ No newline at end of file
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