File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
doc/getting-started/getting-started Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 161
161
RUN ./configure --prefix=/tmp/lightning_install --enable-static --disable-compat --disable-valgrind
162
162
COPY .git/ .git/
163
163
RUN git submodule update --init --recursive --jobs $(nproc) --depth 1
164
+ # TODO: do not install manpages
164
165
RUN uv run make -j$(nproc) install
165
166
166
- RUN for f in /tmp/lightning_install/bin/*; do \
167
+ RUN for f in /tmp/lightning_install/bin/* /tmp/lightning_install/libexec/c-lightning/* /tmp/lightning_install/libexec/c-lightning/plugins/* ; do \
167
168
if file "$f" | grep -q 'ELF' ; then \
168
169
${STRIP} --strip-unneeded "$f" ; \
169
170
fi; \
@@ -182,6 +183,7 @@ RUN apt-get update && \
182
183
183
184
COPY --from=downloader /opt/bitcoin/bin/bitcoin-cli /usr/bin/
184
185
COPY --from=downloader /opt/litecoin/bin/litecoin-cli /usr/bin/
186
+ # TODO: don't copy manpages (/tmp/lightning_install/share)
185
187
COPY --from=builder /tmp/lightning_install/ /usr/local/
186
188
187
189
COPY tools/docker-entrypoint.sh /entrypoint.sh
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ docker pull elementsproject/lightningd:v24.05
44
44
To run the Docker container:
45
45
46
46
``` shell
47
- docker run --rm --init --user $( id -u ) : $( id -g ) - v /path/on/host/lightning-data:/root/.lightning -p 9735:9735 -p 9835:9835 lightningd
47
+ docker run --rm --init -v /path/on/host/lightning-data:/root/.lightning -p 9735:9735 -p 9835:9835 lightningd
48
48
```
49
49
50
50
See all of the docker images for Core Lightning on [ Docker Hub] ( https://hub.docker.com/r/elementsproject/lightningd/tags ) .
You can’t perform that action at this time.
0 commit comments