Skip to content

Commit

Permalink
updated package
Browse files Browse the repository at this point in the history
  • Loading branch information
ugol committed Aug 20, 2024
1 parent 2e0a862 commit a36189a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ FROM registry.access.redhat.com/ubi9/ubi-micro

COPY --from=builder /etc/passwd /etc/passwd
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /go/src/github.com/ugol/jr/templates/ /home/jr/.jr/templates/
COPY --from=builder /go/src/github.com/ugol/jr/config/ /home/jr/.jr/
COPY --from=builder /go/src/github.com/ugol/jr/pkg/producers/kafka/*.example /home/jr/.jr/kafka/
COPY --from=builder /go/src/github.com/ugol/jr/build/jr /bin
COPY --from=builder /go/src/github.com/jrnd-io/jr/templates/ /home/jr/.jr/templates/
COPY --from=builder /go/src/github.com/jrnd-io/jr/config/ /home/jr/.jr/
COPY --from=builder /go/src/github.com/jrnd-io/jr/pkg/producers/kafka/*.example /home/jr/.jr/kafka/
COPY --from=builder /go/src/github.com/jrnd-io/jr/build/jr /bin

USER jr
8 changes: 4 additions & 4 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ FROM alpine
COPY --from=builder /etc/passwd /etc/passwd
COPY --from=builder /etc/group /etc/group
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /go/src/github.com/ugol/jr/templates/ /home/jr/.jr/templates/
COPY --from=builder /go/src/github.com/ugol/jr/config/ /home/jr/.jr/
COPY --from=builder /go/src/github.com/ugol/jr/pkg/producers/kafka/*.examples /home/jr/.jr/kafka/
COPY --from=builder /go/src/github.com/ugol/jr/build/jr /bin
COPY --from=builder /go/src/github.com/jrnd-io/jr/templates/ /home/jr/.jr/templates/
COPY --from=builder /go/src/github.com/jrnd-io/jr/config/ /home/jr/.jr/
COPY --from=builder /go/src/github.com/jrnd-io/jr/pkg/producers/kafka/*.examples /home/jr/.jr/kafka/
COPY --from=builder /go/src/github.com/jrnd-io/jr/build/jr /bin

USER jr-user:jr-user
8 changes: 4 additions & 4 deletions Dockerfile.scratch
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ FROM scratch
COPY --from=builder /etc/passwd /etc/passwd
COPY --from=builder /etc/group /etc/group
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /go/src/github.com/ugol/jr/templates/ /home/jr/.jr/templates/
COPY --from=builder /go/src/github.com/ugol/jr/config/ /home/jr/.jr/
COPY --from=builder /go/src/github.com/ugol/jr/pkg/producers/kafka/*.examples /home/jr/.jr/kafka/
COPY --from=builder /go/src/github.com/ugol/jr/build/jr /bin/jr
COPY --from=builder /go/src/github.com/jrnd-io/jr/templates/ /home/jr/.jr/templates/
COPY --from=builder /go/src/github.com/jrnd-io/jr/config/ /home/jr/.jr/
COPY --from=builder /go/src/github.com/jrnd-io/jr/pkg/producers/kafka/*.examples /home/jr/.jr/kafka/
COPY --from=builder /go/src/github.com/jrnd-io/jr/build/jr /bin/jr

USER jr-user:jr-user

0 comments on commit a36189a

Please sign in to comment.