mirror of https://github.com/hyperledger/besu
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
522 B
22 lines
522 B
6 years ago
|
FROM openjdk:11.0.2-jre-slim-stretch
|
||
|
|
||
|
COPY pantheon-*.tar.gz /tmp/.
|
||
|
RUN 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"]
|