Skip to content

Commit f33a099

Browse files
committed
Add comments to docker scripts
1 parent 5851d1c commit f33a099

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ci/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ RUN rm -r ci/LDKSwift/Sources/LDKSwift
3434
RUN chmod +x ci/run_tests.sh
3535

3636
COPY bindings/batteries ci/LDKSwift/Sources/LDKSwift/batteries
37+
# COPY bindings/LDK/. ci/LDKSwift/Sources/LDKSwift
3738

3839
# RUN ln -s /lib/x86_64-linux-gnu/libtinfo.so.5 /lib/x86_64-linux-gnu/libtinfo.so.6
3940

ci/docker_shell.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ LDK_SUBDIRECTORY="$LDK_DIRECTORY/lightning-c-bindings"
99
# [ ! -d "${LDK_SUBDIRECTORY}" ] && echo "Provided directory does not contain lightning-c-bindings directory." && exit 1;
1010

1111
# use for direct ci folder access
12-
#docker run -i -v $PROJECT_DIRECTORY/ci:/ci -v $LDK_DIRECTORY:/ldk-c-bindings --rm -t swift-generation-ci /bin/bash
12+
# note: batteries will be missing. In parent directory, run `cp -R bindings/batteries ci/LDKSwift/Sources/LDKSwift`
13+
# docker run --name "swift-generator-shell" -i -v $PROJECT_DIRECTORY/ci:/ci -v $LDK_DIRECTORY:/ldk-c-bindings --rm -t swift-generation-ci /bin/bash
1314

14-
docker run -i -v $LDK_DIRECTORY:/ldk-c-bindings --rm -t swift-generation-ci /bin/bash
15+
docker run --name "swift-generator-shell" -i -v $LDK_DIRECTORY:/ldk-c-bindings --rm -t swift-generation-ci /bin/bash

0 commit comments

Comments
 (0)