update Dockerfile, remove supervisord and unattended-upgrades
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
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"]
|
||||
|
Reference in New Issue
Block a user