Commit graph

5 commits

Author SHA1 Message Date
eta 0d772f7012 Switch from Nix to new Dockerfile that builds static executables
Instead of using Nix to build whatsxmpp, we switch back to using Docker in order
to make use of daewok's SBCL static executables fork
   (ref: https://www.timmons.dev/posts/static-executables-with-sbcl-v2.html).

The Dockerfile, adapted from the sources of his fork, pulls his fork, builds
SBCL with sb-prelink-linkage-table, and then does the necessary stuff to make
a fully static whatsxmpp binary.

Importantly, the new binary uses SB-EXT:RESTRICT-COMPILER-POLICY to set 'safety
to 3 in all packages, to hopefully mitigate the heap corruption issues some
users are seeing. (The fact that Nix couldn't do this was a key reason for the
move away.)

We remove the old Nix files to avoid cruft / confusion.
2021-05-28 16:56:46 +01:00
eta 8fc623bb1c get ironclad from github 2020-07-06 13:28:10 +01:00
eta 677bbc6748 actually update quicklisp (docker caching sucks btw) 2020-07-02 18:27:43 +01:00
eta 38e79749a8 Dockerfile: reduce size, fix entrypoint 2020-06-19 09:23:57 +01:00
eta f0612e6613 dockerfile 2020-04-29 22:17:18 +01:00