mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
docker: Build the alpine docker image from a clone
This was causing some issues because it was picking up pre-built artefacts from the host machine. By cloning first we ensure it matches the latest commit and compiles from scratch.
This commit is contained in:
parent
1f5e579f1b
commit
0acdc911a5
1 changed files with 5 additions and 5 deletions
|
@ -27,12 +27,12 @@ RUN apk update && \
|
|||
zlib-static
|
||||
|
||||
RUN mkdir lightning
|
||||
COPY . lightning
|
||||
COPY . /source
|
||||
|
||||
RUN cd lightning && \
|
||||
git submodule update --init --recursive && \
|
||||
./configure && \
|
||||
make -j$(nproc) && \
|
||||
RUN git clone /source /repo --recursive && \
|
||||
cd /repo && \
|
||||
./configure --enable-static --prefix=/usr && \
|
||||
make -j $(nproc) && \
|
||||
make install
|
||||
|
||||
# TODO: review entry point here, to make this availale for the user
|
||||
|
|
Loading…
Add table
Reference in a new issue