Adding the finance user as late as possible within the base Dockerfile
will allow for faster build times when rebuilding with different users
(the base layers won't need to be rebuilt).
- Dockerfiles: separation of concerns for build types
- Dockerfiles: pull from respective hledger-based branches/tags
- Dockerfiles: move hledger-based test building into experimental
- docker-finance.yaml: add commented package 'unuran' (experimental)
When running `finance` image's `import` command (but only when
container's hledger-flow coinbase/coinbase-pro accounts are imported),
the following error is given:
```
IsADirectoryError: [Errno 21] Is a directory: '/etc/timezone'
Selector name 'id' does not exist as a named header in the given CSV data.
```
specifically, after enabling verbose printing of `csvjoin` (which is only
used within these accounts), the following error is given:
```
File "/home/user/.local/share/pipx/venvs/csvkit/lib/python3.12/site-packages/babel/localtime/_unix.py", line 57, in _get_localzone
with open(tzpath, 'rb') as tzfile:
^^^^^^^^^^^^^^^^^^
```
where all errors prevent the successful import of applicable accounts.
The python error appears to have been introduced in csvkit 2.0.0 and
appears to be the result of an upstream decision (or bug) to not test
whether /etc/timezone is a directory or a file (Arch Linux treats
/etc/timezone as a directory).
Fortunately, docker-finance's mounting of /etc/localtime appears to
satisfy use-case requirements; so, /etc/timezone is no longer needed.
Removing /etc/timezone resolves all errors.