Skip to content

Commit

Permalink
fix: update dockerfile to handle non root start
Browse files Browse the repository at this point in the history
Signed-off-by: QuentinN42 <quentin@lieumont.fr>
  • Loading branch information
QuentinN42 committed Aug 28, 2024
1 parent 98768ad commit e688f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ RUN apk add --no-cache ca-certificates

COPY --from=builder /usr/local/bin/prog ./prog

ENTRYPOINT [ "sh", "-c", "update-ca-certificates && ./prog" ]
ENTRYPOINT [ "sh", "-c", "update-ca-certificates || echo 'Unable to update certificates. If you want to add certificates to the agent, please make sure to run it as root.'; ./prog" ]

0 comments on commit e688f44

Please sign in to comment.