Skip to content

Commit

Permalink
docker-ci: fixed script path inside the entry point
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
  • Loading branch information
vincenzopalazzo authored and rustyrussell committed Mar 31, 2022
1 parent 154a391 commit a35e1b2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
3 changes: 3 additions & 0 deletions contrib/docker/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
6 changes: 1 addition & 5 deletions contrib/docker/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions contrib/docker/scripts/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
cd contrib/docker/scripts && \
./setup.sh && ./build.sh
./setup.sh
./build.sh

0 comments on commit a35e1b2

Please sign in to comment.