Commit Graph

15 Commits (0fa43a71d2827acdfb2da0c457b094cc85fa3674)

Author SHA1 Message Date
_ 7645831a09 🐳 build: fix Dockerfile by adding ptth_tail skeleton
It's a bit silly, but because of the workspace setup, we can't build
ptth_relay unless all the other projects have a skeleton.
2020-12-21 17:13:01 +00:00
_ 532f99f770 💄 update: add dev mode and server Git version to server list 2020-12-13 03:00:45 +00:00
_ 0e4839e146 🐳 build: add Tini to Docker image, simplify Git version injection
Building the Git version into the code meant that Cargo had to recompile
ptth_relay every time I built. This is annoying and it doesn't add anything.

I changed it to read the Git version from a text file which is absent by
default, and present in the Docker image.
2020-12-13 02:20:12 +00:00
_ 8e171fbf08 ⬆️ deps (ptth_relay): update Docker build to Rust 1.48 and latest Buster 2020-12-12 05:18:29 +00:00
_ 0c5a37b441 🐳 build (ptth_relay): clean up Docker build process
The new method is much nicer and doesn't require the manual make-old-git
step. The top-level command is actually build_and_minimize.bash, which uses
`git archive` to unpack the last Git commit and build with _that_ Dockerfile
and Docker context. This is better for determinism. It's similar to our build
process for that one big project at work.
2020-12-12 05:08:58 +00:00
_ 00c29a6464 :docker: Fix Dockerfile again 2020-11-30 15:57:14 +00:00
_ 14df0bdf92 🐳 Fix Docker 2020-11-29 23:47:02 +00:00
_ 5f9e84f7f6 🐳 Fix Docker 2020-11-27 01:07:39 +00:00
_ 27b877e80e 🐳 Update cached version in Dockerfile 2020-11-07 23:10:39 +00:00
_ 95a038f7af Running for real. Lots of todos added 2020-11-06 18:49:57 +00:00
_ aad8ffdedd 🐛 Don't build credentials into the Docker image 2020-11-02 18:59:35 +00:00
_ ad79e4ed3c Add Ctrl-C handler 2020-11-02 18:42:00 +00:00
_ d41422ac6e 🐳 🐛 Fix SSL depends for Docker build 2020-11-02 18:11:27 +00:00
_ e99ace3ca0 🐳 Add Git version printout when ptth_relay launches 2020-11-02 18:07:34 +00:00
_ 04cfaf75e1 🐳 Work on Docker build 2020-11-02 18:02:01 +00:00