Commit Graph

9 Commits

Author SHA1 Message Date
projectmoon f6099c657e Always point to glibc image for Docker build. 2021-02-03 23:32:45 +00:00
projectmoon 8ec19c266f Slightly different way of installing tini. 2020-11-01 19:55:06 +00:00
projectmoon 29ef21087f Remove dynamically linked olm from Dockerfile. 2020-10-31 21:33:52 +00:00
projectmoon 6cdc465a2e Add database and storage of user variables.
This commit introduces the Sled embedded key-value store for keeping
track of user variables on a per-room basis. Extensive changes were
made to the command module to separate concerns and also pass the
database "connection" down the line.

 - A new "Context" object was created to hold information and state
   needed for command execution (namely the database).
 - Database is very simple for now, storing only user variables.
   Refactoring later for storing more complicated types.
 - State actor moved into Actors struct, in preparation for either
   more actors, or ripping the whole thing out entirely.
 - Other modules are also more properly separated, notably
   the config module is entirely self-contained.
2020-10-16 13:18:27 +00:00
projectmoon 564515e22f Remove commented rustup init in Dockerfile. 2020-09-27 13:01:49 +00:00
projectmoon fafae6175b Update to latest matrix SDK; dynamic libolm; Dockerfile cleanup.
Updates to the latest matrix SDK, which has a new version of olm-sys
(must be dynamically linked at the moment). Also cleans up the
Dockerfile to remove rustup because Void has reached Rust 1.46.0, for
a faster build.
2020-09-25 22:31:11 +00:00
projectmoon 33ac91063b Set cache dir to something more accessible. 2020-08-27 19:49:21 +00:00
jeff f3de145663 New Dockerfile to work with glibc. 2020-08-27 19:49:21 +00:00
jeff 2a90927760 Add Dockerfile for self-contained deployment. 2020-08-23 21:24:04 +00:00