Skip to content

Commit ad37328

Browse files
docker: git reset to avoid modded suffix
Changelog-Fixed: Core lightning's version will not be suffixed with -modded anymore.
1 parent bb72ad3 commit ad37328

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,12 @@ RUN ( ! [ "${target_host}" = "arm-linux-gnueabihf" ] ) || \
199199
# https://github.com/ElementsProject/lightning/pull/7376#issuecomment-2161102381
200200
RUN poetry lock --no-update && poetry install
201201

202-
RUN ./configure --prefix=/tmp/lightning_install --enable-static && make && poetry run make install
202+
# Ensure that git differences are removed before making bineries, to avoid `-modded` suffix
203+
# poetry.lock changed due to pyln-client, pyln-proto and pyln-testing version updates
204+
# pyproject.toml was updated to exclude clnrest and wss-proxy plugins in base-builder stage
205+
RUN git reset --hard HEAD
206+
207+
RUN ./configure --prefix=/tmp/lightning_install --enable-static && poetry run make install
203208

204209
# Export the requirements for the plugins so we can install them in builder-python stage
205210
WORKDIR /opt/lightningd/plugins/clnrest

0 commit comments

Comments
 (0)