Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
57ab1473
Commit
57ab1473
authored
Oct 26, 2015
by
caktux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Dockerfile, remove supervisord and unattended-upgrades
parent
3b4ffacd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
35 deletions
+2
-35
Dockerfile
docker/Dockerfile
+2
-12
supervisord.conf
docker/supervisord.conf
+0
-23
No files found.
docker/Dockerfile
View file @
57ab1473
FROM
ubuntu:
utopic
FROM
ubuntu:
wily
MAINTAINER
caktux
ENV
DEBIAN_FRONTEND noninteractive
...
...
@@ -8,9 +8,6 @@ RUN apt-get update
RUN
apt-get upgrade
-q
-y
RUN
apt-get dist-upgrade
-q
-y
# Let our containers upgrade themselves
RUN
apt-get
install
-q
-y
unattended-upgrades
# Install Ethereum
RUN
apt-get
install
-q
-y
software-properties-common
RUN
add-apt-repository ppa:ethereum/ethereum
...
...
@@ -18,14 +15,7 @@ RUN add-apt-repository ppa:ethereum/ethereum-dev
RUN
apt-get update
RUN
apt-get
install
-q
-y
geth
# Install supervisor
RUN
apt-get
install
-q
-y
supervisor
# Add supervisor configs
ADD
supervisord.conf supervisord.conf
EXPOSE
8545
EXPOSE
30303
CMD
["-n", "-c", "/supervisord.conf"]
ENTRYPOINT
["/usr/bin/supervisord"]
ENTRYPOINT
["/usr/bin/geth"]
docker/supervisord.conf
deleted
100644 → 0
View file @
3b4ffacd
[
supervisord
]
nodaemon
=
false
[
program
:
geth
]
priority
=
30
directory
=/
command
=
geth
--
rpc
user
=
root
autostart
=
true
autorestart
=
true
startsecs
=
10
stopsignal
=
QUIT
stdout_logfile
=/
var
/
log
/
geth
.
log
stderr_logfile
=/
var
/
log
/
geth
.
err
[
unix_http_server
]
file
=%(
here
)
s
/
supervisor
.
sock
[
supervisorctl
]
serverurl
=
unix
://%(
here
)
s
/
supervisor
.
sock
[
rpcinterface
:
supervisor
]
supervisor
.
rpcinterface_factory
=
supervisor
.
rpcinterface
:
make_main_rpcinterface
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment