NebulousLabs / docker-sia

The official docker image for the Sia daemon
https://sia.tech
MIT License
20 stars 1 forks source link

Refactor for consistency #17

Closed ro-tex closed 4 years ago

ro-tex commented 4 years ago

With more dockerfiles coming into play the slight differences in structure and organisation are proving confusing and error-prone. With this MR I aim to reduce that by unifying the structure as much as possible.

Also, the scripts we rely on are now three and the clutter in the root directory becomes noticeable. I moved them to a common directory, so we don't have to hunt them down across the project.

I also dropped the RUN ln -s "$SIA_DATA_DIR" /mnt/sia line and with that - the direct drop-in support for images prior to 1.4.3.

This MR depends on #16.