-
-
Save helderjnpinto/ff1b3bfa31b330b8bca7644badd3f9ce to your computer and use it in GitHub Desktop.
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 openjdk:8u181-jre-alpine3.8 | |
ARG version | |
RUN apk add --update libc6-compat && \ | |
rm -rf /var/cache/apk/* | |
RUN mkdir /opt | |
RUN wget -O /tmp/pantheon.tar.gz https://bintray.com/consensys/pegasys-repo/download_file?file_path=pantheon-$version.tar.gz && \ | |
tar xzf /tmp/pantheon.tar.gz -C /tmp && \ | |
rm /tmp/pantheon.tar.gz && \ | |
mv /tmp/pantheon-* /opt/pantheon | |
RUN mkdir /var/lib/pantheon | |
RUN mkdir /etc/pantheon/ | |
COPY entrypoint.sh /opt/pantheon/pantheon-entrypoint.sh | |
RUN chmod +x /opt/pantheon/pantheon-entrypoint.sh | |
WORKDIR /var/lib/pantheon | |
VOLUME ["/var/lib/pantheon"] | |
EXPOSE 8545 8546 30303 | |
ENV PANTHEON_OPTS="-Dpantheon.docker=true" | |
ENTRYPOINT ["/opt/pantheon/pantheon-entrypoint.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment