-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
containers/docker: update ubuntu images to build, not pull
- Loading branch information
Showing
2 changed files
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
FROM ubuntu:wily | ||
MAINTAINER caktux | ||
FROM ubuntu:xenial | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update && \ | ||
apt-get upgrade -q -y && \ | ||
apt-get dist-upgrade -q -y && \ | ||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 923F6CA9 && \ | ||
echo "deb http://ppa.launchpad.net/ethereum/ethereum-dev/ubuntu wily main" | tee -a /etc/apt/sources.list.d/ethereum.list && \ | ||
apt-get update && \ | ||
apt-get install -q -y geth | ||
RUN \ | ||
apt-get update && apt-get upgrade -q -y && \ | ||
apt-get install -y --no-install-recommends golang git make gcc libc-dev ca-certificates && \ | ||
git clone --depth 1 https://github.com/ethereum/go-ethereum && \ | ||
(cd go-ethereum && make geth) && \ | ||
cp go-ethereum/build/bin/geth /geth && \ | ||
apt-get remove -y golang git make gcc libc-dev && apt autoremove -y && apt-get clean && \ | ||
rm -rf /go-ethereum | ||
|
||
EXPOSE 8545 | ||
EXPOSE 30303 | ||
|
||
ENTRYPOINT ["/usr/bin/geth"] | ||
ENTRYPOINT ["/geth"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
FROM ubuntu:wily | ||
MAINTAINER caktux | ||
FROM ubuntu:xenial | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update && \ | ||
apt-get upgrade -q -y && \ | ||
apt-get dist-upgrade -q -y && \ | ||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 923F6CA9 && \ | ||
echo "deb http://ppa.launchpad.net/ethereum/ethereum/ubuntu wily main" | tee -a /etc/apt/sources.list.d/ethereum.list && \ | ||
apt-get update && \ | ||
apt-get install -q -y geth | ||
RUN \ | ||
apt-get update && apt-get upgrade -q -y && \ | ||
apt-get install -y --no-install-recommends golang git make gcc libc-dev ca-certificates && \ | ||
git clone --depth 1 --branch release/1.5 https://github.com/ethereum/go-ethereum && \ | ||
(cd go-ethereum && make geth) && \ | ||
cp go-ethereum/build/bin/geth /geth && \ | ||
apt-get remove -y golang git make gcc libc-dev && apt autoremove -y && apt-get clean && \ | ||
rm -rf /go-ethereum | ||
|
||
EXPOSE 8545 | ||
EXPOSE 30303 | ||
|
||
ENTRYPOINT ["/usr/bin/geth"] | ||
ENTRYPOINT ["/geth"] |