Skip to content

Commit

Permalink
run as USER spark
Browse files Browse the repository at this point in the history
  • Loading branch information
staffbase-robert committed Jun 4, 2023
1 parent 5175c43 commit 07ec45d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ RUN CGO_ENABLED=0 go build -o spark-submit-server .
FROM apache/spark:3.4.0
WORKDIR /spark/home
COPY --from=builder /build/spark-submit-server .
USER spark
CMD [ "./spark-submit-server" ]

0 comments on commit 07ec45d

Please sign in to comment.