mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2026-03-26 21:35:58 +00:00
Fix healthcheck by adding procps to runtime dependencies
The HEALTHCHECK uses pgrep to monitor the proton-bridge process, but procps (which provides pgrep) was not installed in the runtime image. This caused the container to remain permanently unhealthy. Fixes #14
This commit is contained in:
parent
fa5ddaa530
commit
656e5556c6
@ -28,7 +28,7 @@ HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=60s \
|
||||
|
||||
# Install runtime dependencies
|
||||
RUN apt-get -o Acquire::http::Timeout=30 update \
|
||||
&& apt-get -o Acquire::http::Timeout=30 install -y --no-install-recommends socat pass libsecret-1-0 libfido2-1 ca-certificates \
|
||||
&& apt-get -o Acquire::http::Timeout=30 install -y --no-install-recommends socat pass libsecret-1-0 libfido2-1 ca-certificates procps \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy bash scripts
|
||||
|
||||
Loading…
Reference in New Issue
Block a user