-
Notifications
You must be signed in to change notification settings - Fork 53
lnd-channels-backup-dependencies #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
lnd-channels-backup-dependencies #11
Conversation
|
btcpayserver/btcpayserver-docker#270 |
|
Sorry to take lot's of time to review it I was busy those last days, I should be more reactive from now:
|
|
@NicolasDorier , no problem, thanks for your response. It's my turn to be more reactive). when you say 'tooling' do you mean all these scripts to be put in Dockerfile? |
|
Right now, everytimes the container get started, this run echo "Checking rsync and inotify..."
for pkgs in rsync inotify-tools; do
if [ $(dpkg -s $pkgs 2>/dev/null | grep -c "ok installed") -eq 1 ]; then
echo "$pkgs is already installed "
else
apt -yy install $pkgs
echo "Successfully installed $pkgs "
fi
doneContainers does not save anything so any restart, you'll install same package over and over. |
|
Last, the entrypoint is not doing anything, except installing the dependencies and shutting down. (and deleting what it just installed as explained above) |
770aff0 to
0089acd
Compare
4af0f9a to
596dd76
Compare
a15deda to
6c1b1f2
Compare
#270