forked from dart-lightning/lndart.cln
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: adding commondo plugin inside docker image
Signed-off-by: Vincenzo Palazzo <[email protected]>
- Loading branch information
1 parent
972ce76
commit 22e40ed
Showing
5 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
FROM ubuntu:20.04 | ||
LABEL mantainer="Vincenzo Palazzo [email protected]" | ||
|
||
ENV TZ=Europe/Minsk | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
# Ubuntu utils | ||
RUN apt-get update && apt-get install -y \ | ||
software-properties-common wget && \ | ||
software-properties-common wget git python3-pip python3 && \ | ||
sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' && \ | ||
sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list' && \ | ||
apt-get update && apt-get install -y dart | ||
|
@@ -22,6 +25,11 @@ RUN rm -r clightning-v$CLIGHTNING_VERSION-Ubuntu-20.04.tar.xz | |
|
||
ENV PATH=/opt/clightning-v$CLIGHTNING_VERSION/bin:$PATH | ||
|
||
# Remove when commando is inside cln release | ||
RUN git clone https://github.com/lightningd/plugins.git && \ | ||
cd plugins/commando && pip3 install -r requirements.txt && cd .. && \ | ||
cp -rf commando/ /opt/commando/ | ||
|
||
WORKDIR workdir | ||
|
||
CMD ["./entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters