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.
18 lines
454 B
18 lines
454 B
FROM openjdk:8-jdk as builder
|
|
ARG JENKINS_URL
|
|
ENV JENKINS_URL $JENKINS_URL
|
|
COPY . /tmp/pantheon
|
|
WORKDIR /tmp/pantheon
|
|
RUN ./gradlew installDist -x test
|
|
|
|
FROM openjdk:8-jre
|
|
|
|
# copy application (with libraries inside)
|
|
COPY quickstart/pantheon/*_start.sh /opt/pantheon/
|
|
COPY --from=builder /tmp/pantheon/build/install/pantheon /opt/pantheon/
|
|
|
|
# List Exposed Ports
|
|
EXPOSE 8546 8545 30303
|
|
|
|
# specify default command
|
|
ENTRYPOINT ["/opt/pantheon/node_start.sh"]
|
|
|