tzdata icon indicating copy to clipboard operation
tzdata copied to clipboard

feat: support running on a read-only filesystem

Open paulswartz opened this issue 3 years ago • 2 comments

Docker containers can run on a read-only filesystem, which has some security benefits. The current updater implementation writes the .tgz file to the filesystem, so it does not work in such an environment.

This provides a read_only_fs? configuration which stores the data in memory while loading, and does not write the ETS table to disk for future loading.

paulswartz avatar Dec 27 '22 16:12 paulswartz

Tests pass: https://github.com/paulswartz/tzdata/actions/runs/3788868708

paulswartz avatar Dec 27 '22 17:12 paulswartz

Rebased on top of the latest master, and remove the other implementation of the GitHub CI.

paulswartz avatar Sep 30 '23 16:09 paulswartz