Skip to content

Commit

Permalink
FIX: docker support for JR_SYSTEM_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
ram-pi committed Aug 23, 2024
1 parent 8cddb81 commit 839eda8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions Dockerfile.scratch
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 839eda8

Please sign in to comment.