Skip to content

Commit

Permalink
Handle hadolint check failure with proper risk assessment (hyperledge…
Browse files Browse the repository at this point in the history
…r#7637)

Signed-off-by: Bhanu Pulluri <[email protected]>
Co-authored-by: Bhanu Pulluri <[email protected]>
Co-authored-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
3 people authored Sep 18, 2024
1 parent 7d3e376 commit 96e9873
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ ENV OTEL_RESOURCE_ATTRIBUTES="service.name=besu,service.version=$VERSION"
ENV OLDPATH="${PATH}"
ENV PATH="/opt/besu/bin:${OLDPATH}"


# The entry script just sets permissions as needed based on besu config
# and is replaced by the besu process running as besu user.
# Suppressing this warning as there's no risk here because the root user
# only sets permissions and does not continue running the main process.
# hadolint ignore=DL3002
USER root
RUN chmod +x /opt/besu/bin/besu-entry.sh

Expand Down

0 comments on commit 96e9873

Please sign in to comment.