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
80e806d to
7b91acc
Compare
#270