eellak / epidose

Privacy-preserving epidemic dosimeter based on DP-3T contact tracing
Apache License 2.0
52 stars 6 forks source link

Switch to alpine for "immutable" os #22

Open DavyLandman opened 4 years ago

DavyLandman commented 4 years ago

It might be a nice idea to switch to Alpine.

The best property of alpine that could be interesting for epidose:

At home I've been using it for all kinds of IoT purposes, if you set it up once, there is no bitrot than can happen to your OS that a reboot cannot solve.

The only current problem is that on some rpi's the boot time is roughly a minute.

dspinellis commented 4 years ago

Indeed, this seems like a good suggestion for the setup.

Do you know if the required packages (ibbluetooth-dev libglib2.0-dev python3-dev python3-setuptools shellcheck sqlite3 virtualenv dh-virtualenv debhelper supervisor) are available on it? Also, currently the system configuration is managed through a Puppet client. Do you think this would work on Alpine? An finally, I assume that the database where the contacts are stored will survive across reboots, right?

DavyLandman commented 4 years ago

I'll check tonight for the dependencies. But you can have a different partition that contains the persistent data with the db.