mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
removes one dependency. jfa-go-build-docker has been updated to reflect this, and in general with a newer debian version and properly included goreleaser, and a build for amd64. Dockerfiles now use a "distroless"-style container as their base. Was gonna use chainguard/glibc-dynamic, but it running as a different user meant it wouldn't read/write from your /data mount without manual intervention.
11 lines
213 B
Docker
11 lines
213 B
Docker
FROM gcr.io/distroless/base:latest AS final
|
|
ARG TARGETARCH
|
|
|
|
COPY ./dist/notray-e2ee_linux_${TARGETARCH}* /jfa-go
|
|
COPY ./build/data /jfa-go/data
|
|
|
|
EXPOSE 8056
|
|
EXPOSE 8057
|
|
|
|
CMD [ "/jfa-go/jfa-go", "-data", "/data" ]
|