docker-ci: fixed script path inside the entry point

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
Vincenzo Palazzo
2022-03-30 23:25:38 +02:00
committed by Rusty Russell
parent 154a391cf7
commit a35e1b23e6
4 changed files with 7 additions and 8 deletions

View File

@@ -31,6 +31,9 @@ RUN apt-get -qq update && \
build-essential libssl-dev libffi-dev \
python3-dev cargo
# move the script in the root of the directory
RUN cp contrib/docker/scripts/*.sh .
RUN ls -la
CMD ["./contrib/docker/scripts/entrypoint.sh"]

View File

@@ -29,12 +29,8 @@ poetry install
git clone https://github.com/lightningnetwork/lightning-rfc.git ../lightning-rfc
git submodule update --init --recursive
# Used in docker image
cd /work || return
ls -la
./configure CC="$CC"
# cat config.vars
cat config.vars
cat << EOF > pytest.ini
[pytest]

View File

@@ -1,3 +1,3 @@
#!/bin/bash
cd contrib/docker/scripts && \
./setup.sh && ./build.sh
./setup.sh
./build.sh