File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM alpine:3.4
1+ FROM alpine:3.5
22
33RUN \
4- apk add --update go git make gcc musl-dev && \
4+ apk add --update go git make gcc musl-dev ca-certificates && \
55 git clone --depth 1 https://github.com/ethereum/go-ethereum && \
66 (cd go-ethereum && make geth) && \
77 cp go-ethereum/build/bin/geth /geth && \
Original file line number Diff line number Diff line change 1- FROM ubuntu:wily
2- MAINTAINER caktux
1+ FROM ubuntu:xenial
32
4- ENV DEBIAN_FRONTEND noninteractive
5-
6- RUN apt-get update && \
7- apt-get upgrade -q -y && \
8- apt-get dist-upgrade -q -y && \
9- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 923F6CA9 && \
10- echo "deb http://ppa.launchpad.net/ethereum/ethereum-dev/ubuntu wily main" | tee -a /etc/apt/sources.list.d/ethereum.list && \
11- apt-get update && \
12- apt-get install -q -y geth
3+ RUN \
4+ apt-get update && apt-get upgrade -q -y && \
5+ apt-get install -y --no-install-recommends golang git make gcc libc-dev ca-certificates && \
6+ git clone --depth 1 https://github.com/ethereum/go-ethereum && \
7+ (cd go-ethereum && make geth) && \
8+ cp go-ethereum/build/bin/geth /geth && \
9+ apt-get remove -y golang git make gcc libc-dev && apt autoremove -y && apt-get clean && \
10+ rm -rf /go-ethereum
1311
1412EXPOSE 8545
1513EXPOSE 30303
1614
17- ENTRYPOINT ["/usr/bin/ geth" ]
15+ ENTRYPOINT ["/geth" ]
Original file line number Diff line number Diff line change 1- FROM alpine:3.4
1+ FROM alpine:3.5
22
33RUN \
4- apk add --update go git make gcc musl-dev && \
4+ apk add --update go git make gcc musl-dev ca-certificates && \
55 git clone --depth 1 --branch release/1.5 https://github.com/ethereum/go-ethereum && \
66 (cd go-ethereum && make geth) && \
77 cp go-ethereum/build/bin/geth /geth && \
Original file line number Diff line number Diff line change 1- FROM ubuntu:wily
2- MAINTAINER caktux
1+ FROM ubuntu:xenial
32
4- ENV DEBIAN_FRONTEND noninteractive
5-
6- RUN apt-get update && \
7- apt-get upgrade -q -y && \
8- apt-get dist-upgrade -q -y && \
9- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 923F6CA9 && \
10- echo "deb http://ppa.launchpad.net/ethereum/ethereum/ubuntu wily main" | tee -a /etc/apt/sources.list.d/ethereum.list && \
11- apt-get update && \
12- apt-get install -q -y geth
3+ RUN \
4+ apt-get update && apt-get upgrade -q -y && \
5+ apt-get install -y --no-install-recommends golang git make gcc libc-dev ca-certificates && \
6+ git clone --depth 1 --branch release/1.5 https://github.com/ethereum/go-ethereum && \
7+ (cd go-ethereum && make geth) && \
8+ cp go-ethereum/build/bin/geth /geth && \
9+ apt-get remove -y golang git make gcc libc-dev && apt autoremove -y && apt-get clean && \
10+ rm -rf /go-ethereum
1311
1412EXPOSE 8545
1513EXPOSE 30303
1614
17- ENTRYPOINT ["/usr/bin/ geth" ]
15+ ENTRYPOINT ["/geth" ]
You can’t perform that action at this time.
0 commit comments