ci: attempt to combine git-docker with git-binary

using a second Dockerfile, and the prevous Makefile changes to share the
precompile step. git-binary.yaml temporarily set for ci-streamline
branch and is in a "dry run" form.
This commit is contained in:
Harvey Tindall
2025-12-01 14:50:33 +00:00
parent 331e7c13fa
commit 03d3cee18b
2 changed files with 64 additions and 25 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM golang:bookworm AS final
ARG TARGETARCH
COPY ./dist/notray-e2ee_linux_${TARGETARCH}* /opt/jfa-go
COPY ./build/data /opt/jfa-go/data
RUN apt-get update -y && apt-get install libolm-dev -y
EXPOSE 8056
EXPOSE 8057
CMD [ "/opt/jfa-go/jfa-go", "-data", "/data" ]