From fd0111e6bececd23a43ab0820ce4e24541d7997a Mon Sep 17 00:00:00 2001 From: rorp Date: Sat, 19 Oct 2024 21:46:04 -0700 Subject: [PATCH] docs: update eclair section of build custom node images --- docs/custom-nodes.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/custom-nodes.md b/docs/custom-nodes.md index f2ab49e0d..4d97b9d19 100644 --- a/docs/custom-nodes.md +++ b/docs/custom-nodes.md @@ -157,10 +157,10 @@ Polar v1.0.0 supports using custom docker images for nodes in your networks. The # this was meant to make the image smaller, but we use multi-stage build so we don't care RUN apk add --no-cache curl tar bash - ARG MAVEN_VERSION=3.6.3 + ARG MAVEN_VERSION=3.9.2 ARG USER_HOME_DIR="/root" - ARG SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0 - ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/${MAVEN_VERSION}/binaries + ARG SHA=900bdeeeae550d2d2b3920fe0e00e41b0069f32c019d566465015bdd1b3866395cbe016e22d95d25d51d3a5e614af2c83ec9b282d73309f644859bbad08b63db + ARG BASE_URL=https://archive.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries RUN mkdir -p /usr/share/maven /usr/share/maven/ref \ && curl -fsSL -o /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz \ @@ -178,10 +178,9 @@ Polar v1.0.0 supports using custom docker images for nodes in your networks. The WORKDIR /usr/src COPY pom.xml pom.xml COPY eclair-core/pom.xml eclair-core/pom.xml + COPY eclair-front/pom.xml eclair-front/pom.xml COPY eclair-node/pom.xml eclair-node/pom.xml - COPY eclair-node-gui/pom.xml eclair-node-gui/pom.xml COPY eclair-node/modules/assembly.xml eclair-node/modules/assembly.xml - COPY eclair-node-gui/modules/assembly.xml eclair-node-gui/modules/assembly.xml RUN mkdir -p eclair-core/src/main/scala && touch eclair-core/src/main/scala/empty.scala # Blank build. We only care about eclair-node, and we use install because eclair-node depends on eclair-core #################### Polar Modification