File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,6 @@ WORKDIR /opt
147
147
RUN ./install-uv.sh -q
148
148
RUN ./install-rust.sh -y --target ${target_arch_rust} --profile minimal
149
149
150
- # TODO: error here when building for `arm`
151
150
ENV PATH="/root/.cargo/bin:/root/.local/bin:${PATH}"
152
151
153
152
WORKDIR /opt/lightningd
@@ -158,13 +157,12 @@ linker = "${target_arch}-gcc"
158
157
rustflags = ["-C" , "target-cpu=generic" ]
159
158
EOF
160
159
161
- # TODO: maybe only compile lightningd? instead of all the plugins as well
162
- RUN ./configure --prefix=/opt/lightningd --enable-static --disable-compat --disable-valgrind
160
+ RUN ./configure --prefix=/tmp/lightning_install --enable-static --disable-compat --disable-valgrind
163
161
COPY .git/ .git/
164
162
RUN git submodule update --init --recursive --jobs $(nproc) --depth 1
165
163
RUN uv run make -j$(nproc) install
166
164
167
- RUN ${STRIP} --strip-unneeded bin/lightningd
165
+ RUN ${STRIP} --strip-unneeded #TODO: fix
168
166
169
167
FROM base-target AS final
170
168
@@ -179,7 +177,7 @@ RUN apt-get update && \
179
177
180
178
COPY --from=downloader /opt/bitcoin/bin/bitcoin-cli /usr/bin/
181
179
COPY --from=downloader /opt/litecoin/bin/litecoin-cli /usr/bin/
182
- COPY --from=builder /opt/lightningd/bin/lightningd /usr/local/bin /
180
+ COPY --from=builder /tmp/lightning_install /usr/local/
183
181
184
182
COPY tools/docker-entrypoint.sh /entrypoint.sh
185
183
You can’t perform that action at this time.
0 commit comments