Commit Graph

61 Commits

Author SHA1 Message Date
c74a76bd0b client: Dockerfiles: add hledger source build 2024-07-09 22:56:03 -07:00
cb7991b187 client: Dockerfiles: ubuntu: 'USER root' to install
Fixup to #68
2024-06-28 18:38:33 -07:00
dffb3e5b14 client: Dockerfiles: ubuntu: add ROOT.cern support 2024-06-28 17:30:36 -07:00
19cbd05a5d client: Dockerfiles: refactor for build options 2024-06-28 17:30:36 -07:00
decef35be4 client: create templated custom Dockerfiles 2024-06-26 14:58:19 -07:00
51ef36b2bb client: Dockerfiles: dev-tools: add version dependency
Already present in the 'finance' images.
2024-06-21 16:34:50 -07:00
55c893e010 Dockerfiles: remove PHP codenixsv/coingecko-api
Replaced by custom implementation.
2024-06-17 23:15:22 -07:00
5eaf261875 Dockerfiles: finance/dev-tools: remove default 'ubuntu' user
For Ubuntu-based images, remove upstream-added default 'ubuntu' user as
it may conflict with host's given UID/GID during docker-finance build.
2024-06-13 15:20:55 -07:00
958cf11be3 Dockerfiles: finance/dev-tools: remove timezone mount
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.
2024-06-13 15:20:33 -07:00
7e2e4227b1 client: Dockerfiles: remove obsolete 'version' element
Resolves warning when internally running docker compose.
2024-03-26 22:53:23 -07:00
b621e87df2 docker-finance | modern accounting for the power-user
Dedicated to Michael Morgan: a beautiful, beautiful soul.

---

Internal signing keys:

  Aaron Fiore (sole author)

    - 518A22F85BEFD32BCC99C48603F90C4F35E0213E
    - 31ECA5C347A0CC0815EDE730A3EACCFCDA7E685E
    - C8187C585CB07A4DA81CC0F37318B50EBE9C0DA8

Internal repositories (rebased from):

  Staging:

    $ git log -n1 --pretty=format:"%H"
    c8e0cd66f6c89fa7b3c62f72fb524a4cc454b7b6

    $ git rev-list --max-parents=0 HEAD
    ac3863b8c234755855f1aea3a07a853122decdf2

  Private:

    $ git log -n1 --pretty=format:"%H"
    69bb3591eaa2990a9637832bb484690e00c4f926

    $ git rev-list --max-parents=0 HEAD
    a5c1cc9fb593c4cf09bc0adfef6cb6d2964511ae
2024-03-08 23:42:21 -08:00