From 839eda811aac4b43fe8b54545d3293221b35236e Mon Sep 17 00:00:00 2001 From: prametta Date: Fri, 23 Aug 2024 16:30:49 +0200 Subject: [PATCH] FIX: docker support for JR_SYSTEM_DIR --- Dockerfile | 2 ++ Dockerfile.alpine | 2 ++ Dockerfile.scratch | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4f658854..30dd7f7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,3 +25,5 @@ COPY --from=builder /go/src/github.com/jrnd-io/jr/pkg/producers/kafka/*.example COPY --from=builder /go/src/github.com/jrnd-io/jr/build/jr /bin USER jr + +ENV JR_SYSTEM_DIR=/home/jr/.jr \ No newline at end of file diff --git a/Dockerfile.alpine b/Dockerfile.alpine index eae71f54..e8bd9e0b 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -36,3 +36,5 @@ COPY --from=builder /go/src/github.com/jrnd-io/jr/pkg/producers/kafka/*.examples COPY --from=builder /go/src/github.com/jrnd-io/jr/build/jr /bin USER jr-user:jr-user + +ENV JR_SYSTEM_DIR=/home/jr/.jr \ No newline at end of file diff --git a/Dockerfile.scratch b/Dockerfile.scratch index f246bb8a..633037fb 100644 --- a/Dockerfile.scratch +++ b/Dockerfile.scratch @@ -38,3 +38,5 @@ COPY --from=builder /go/src/github.com/jrnd-io/jr/pkg/producers/kafka/*.examples COPY --from=builder /go/src/github.com/jrnd-io/jr/build/jr /bin/jr USER jr-user:jr-user + +ENV JR_SYSTEM_DIR=/home/jr/.jr \ No newline at end of file