Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wincenteam committed Jul 31, 2019
1 parent 5f9a0d1 commit de04f31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion containers/docker/gero-ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY geroConfig.toml /usr/local/bin/geroConfig.toml
RUN \
apt-get update && apt-get upgrade -q -y && \
apt-get install -y --no-install-recommends wget make gcc libc-dev libgmp-dev ca-certificates && \
wget https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/gero/v1.0.0-rc5/gero-v1.0.0-rc5-linux-amd64-v4.tar.gz &&\
wget https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/gero/v1.0.0-rc6/gero-v1.0.0-rc6-linux-amd64-v4.tar.gz &&\
tar -zxvf gero-v1.0.0-rc5-linux-amd64-v4.tar.gz && \
cp geropkg/bin/gero /gero

Expand Down
4 changes: 2 additions & 2 deletions containers/docker/gero-ubuntu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
#when you start gero with docker please add -v save the data to the chain data

build:
docker build -t sero/client-go:v1.0.0-rc5 .
docker build -t sero/client-go:v1.0.0-rc6 .

rpc:
mkdir -p ~/geroData/log
docker run --name gero -v ~/geroData:/root/.sero -v ~/geroData/log:/log -d -p 8545:8545 sero/client-go:v1.0.0-rc5
docker run --name gero -v ~/geroData:/root/.sero -v ~/geroData/log:/log -d -p 8545:8545 sero/client-go:v1.0.0-rc6

kill:
docker rm -f gero
Expand Down

0 comments on commit de04f31

Please sign in to comment.