Last active
November 17, 2018 11:04
-
-
Save javahippie/efee5417c69aaad3baf297dd2cd71fc6 to your computer and use it in GitHub Desktop.
Dockerfile for an Ethereum bootnode
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
FROM ubuntu:xenial | |
MAINTAINER Tim Zöller <mail@tim-zoeller.de> | |
RUN apt-get update \ | |
&& apt-get install -y wget \ | |
&& rm -rf /var/lib/apt/lists/* | |
WORKDIR "/opt" | |
ARG BINARY="geth-alltools-linux-amd64-1.8.1-1e67410e.tar.gz" | |
RUN wget "https://gethstore.blob.core.windows.net/builds/$BINARY" | |
RUN tar -xzvf $BINARY --strip 1 | |
RUN rm $BINARY | |
ENV nodekeyhex="" | |
CMD exec ./bootnode -nodekeyhex $nodekeyhex | |
EXPOSE 30301/udp | |
EXPOSE 30303/udp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment