Skip to content

Commit

Permalink
fix(container): set USER in Dockerfile (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebaron authored Feb 11, 2025
1 parent 02a6a60 commit 1de0ba3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ FROM ${BASEIMAGE}
ARG OUTDIR=/cryostat/agent
COPY target/cryostat-agent-*-shaded.jar ${OUTDIR}/
RUN ln -s ${OUTDIR}/cryostat-agent-*-shaded.jar ${OUTDIR}/cryostat-agent-shaded.jar
USER 1001

0 comments on commit 1de0ba3

Please sign in to comment.