From 05b674190f26e2a58cc7b7288586c031552d50f3 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 29 Jan 2025 00:34:30 +0100 Subject: Add git-server to docker-compose To make a githook that can run on alpine images (using musl) they need to be cross-compiled. Then it became apparent that the githook binary was pulling in all the same dependencies as the server was. This is not good, but apparently also not something Rust/Cargo has figured out. RFC:s has been shutdown. workspace might be an option but then I probably need to also add a "code shared by both githook and server" library that both can link. Problem for another day. --- docker/dev/git/repos/.gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 docker/dev/git/repos/.gitignore (limited to 'docker/dev/git/repos/.gitignore') diff --git a/docker/dev/git/repos/.gitignore b/docker/dev/git/repos/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/docker/dev/git/repos/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore -- cgit v1.2.3-70-g09d2