Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:10.15.3-alpine as build
FROM node:10.16.0-alpine as build

ENV LND_VERSION "v0.7.0-beta"
ENV RTL_TAG "v0.4.2"
ENV LND_VERSION "v0.7.1-beta"
ENV RTL_TAG "v0.4.4"

RUN apk add --no-cache wget ca-certificates \
&& wget https://github.com/lightningnetwork/lnd/releases/download/${LND_VERSION}/lnd-linux-amd64-${LND_VERSION}.tar.gz \
Expand All @@ -18,17 +18,20 @@ RUN git clone -b $RTL_TAG https://github.com/ShahanaFarooqui/RTL.git /rtl
WORKDIR /rtl

RUN npm install
RUN rm -rf ./node_modules/* && npm install --only=production
RUN rm -rf ./node_modules/* && npm install --only=production && npm install @types/node

FROM alpine

WORKDIR /rtl

ENV CHANNEL_BACKUP_PATH /root/.lnd

# Add requirements
RUN apk add --no-cache supervisor bash curl nodejs openssl gettext

COPY --from=build /rtl /rtl
COPY --from=build /bin/lnd /bin/lnd
COPY --from=build /bin/lncli /bin/lncli

COPY src/scripts/start-lnd.sh /
COPY src/scripts/start-rtl.sh /rtl
Expand Down
14 changes: 7 additions & 7 deletions dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "lightning-network.dnp.dappnode.eth",
"version": "0.0.3",
"upstreamVersion": "v0.7.0-beta",
"version": "0.1.1",
"upstreamVersion": "v0.7.1-beta",
"shortDescription": "Scalable, instant Bitcoin transactions",
"description": "The Lightning Network DAppNodePackage (lnd + RTL). The Lightning Network is a decentralized system for instant, high-volume micropayments that remove the risk of delegating custody of funds to trusted third parties. \n\n\n **Getting started** \n\n Go to the [Lightning Network DAppNode Package readme](https://github.com/dappnode/DAppNodePackage-LightningNetwork#readme) to learn how to get started and safely backup your data.",
"avatar": "/ipfs/QmYjbpLBEbPDoiJwTcWjhuHuL1Ax2HuArhXRF4Fi95HT6c",
"type": "service",
"image": {
"path": "",
"hash": "",
"size": "",
"path": "lightning-network.dnp.dappnode.eth_0.1.1.tar.xz",
"hash": "/ipfs/QmXxbfGVFCjJxK3JHr5Cpi6kEWbDdd3gGb8aDPoWJr7Eud",
"size": 95610466,
"ports": [
"9735:9735"
],
Expand All @@ -34,7 +34,7 @@
"backup": [
{
"name": "data",
"path": "/root/.lnd/data"
"path": "/root/.lnd"
}
],
"style": {
Expand Down Expand Up @@ -72,4 +72,4 @@
"message": "This software is experimental, presented 'as is' and inherently carries risks. By installing it, you acknowledge that DAppNode Association has done its best to mitigate these risks and accept to waive any liability or responsibility for DAppNode in case of any shortage, discrepancy, damage, loss or destruction of any digital asset managed within this DAppNode package.\n\nThis package stores private keys, which will be stored in your DAppNode. Neither DAppNode Association nor the developers of this software can have access to your private key, nor help you recover it if you lose it. \n\nYou are solely responsible for keeping your private keys and password safe and to perform secure backups, as well as to restrict access to your computer and other equipment. To the extent permitted by applicable law, you agree to be responsible for all activities that have been conducted from your account. You must take all necessary steps to ensure that your private key, password, and/or recovery phrase remain confidential and secured."
},
"license": "GPL-3.0"
}
}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.4'
services:
lightning-network.dnp.dappnode.eth:
image: 'lightning-network.dnp.dappnode.eth:0.0.3'
image: 'lightning-network.dnp.dappnode.eth:0.1.1'
build: ./build
volumes:
- 'lndconfig_data:/root/.lnd/'
Expand Down