mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 04:33:56 -05:00
Handle hadolint check failure with proper risk assessment (#7637)
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io> Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io> Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user