mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 20:47:59 -05:00
Update Docker files due to hadolint (#1954)
Hadolint introduced a new linting rule prohibiting using the same env var in it's definition. Move to a two step definition. Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
This commit is contained in:
@@ -25,7 +25,9 @@ ENV BESU_PID_PATH "/tmp/pid"
|
||||
|
||||
ENV OTEL_RESOURCE_ATTRIBUTES="service.name=besu,service.version=$VERSION"
|
||||
|
||||
ENV PATH="/opt/besu/bin:${PATH}"
|
||||
ENV OLDPATH="${PATH}"
|
||||
ENV PATH="/opt/besu/bin:${OLDPATH}"
|
||||
|
||||
ENTRYPOINT ["besu"]
|
||||
HEALTHCHECK --start-period=5s --interval=5s --timeout=1s --retries=10 CMD bash -c "[ -f /tmp/pid ]"
|
||||
|
||||
|
||||
@@ -25,7 +25,9 @@ ENV BESU_PID_PATH "/tmp/pid"
|
||||
|
||||
ENV OTEL_RESOURCE_ATTRIBUTES="service.name=besu,service.version=$VERSION"
|
||||
|
||||
ENV PATH="/opt/besu/bin:${PATH}"
|
||||
ENV OLDPATH="${PATH}"
|
||||
ENV PATH="/opt/besu/bin:${OLDPATH}"
|
||||
|
||||
ENTRYPOINT ["besu"]
|
||||
HEALTHCHECK --start-period=5s --interval=5s --timeout=1s --retries=10 CMD bash -c "[ -f /tmp/pid ]"
|
||||
|
||||
|
||||
@@ -25,7 +25,9 @@ ENV BESU_PID_PATH "/tmp/pid"
|
||||
|
||||
ENV OTEL_RESOURCE_ATTRIBUTES="service.name=besu,service.version=$VERSION"
|
||||
|
||||
ENV PATH="/opt/besu/bin:${PATH}"
|
||||
ENV OLDPATH="${PATH}"
|
||||
ENV PATH="/opt/besu/bin:${OLDPATH}"
|
||||
|
||||
ENTRYPOINT ["besu"]
|
||||
HEALTHCHECK --start-period=5s --interval=5s --timeout=1s --retries=10 CMD bash -c "[ -f /tmp/pid ]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user