Verified Commit 84c1a5dd authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Remove CVE from jq (undeeded) and improve healthcheck

parent 52a5eea7
Pipeline #52087 failed with stages
in 1 minute and 2 seconds
......@@ -13,7 +13,6 @@ ARG PGID=5000
RUN apk add --no-cache \
ca-certificates \
curl \
jq \
libc6-compat \
libffi-dev \
libcap \
......@@ -37,12 +36,14 @@ RUN mkdir -p /mattermost/data /mattermost/plugins /mattermost/client/plugins \
USER mattermost
#Healthcheck to make sure container is ready
HEALTHCHECK CMD curl --fail http://localhost:8000 || exit 1
HEALTHCHECK --interval=5m --timeout=3s CMD curl --fail http://localhost:8000//api/v4/system/ping || exit 1
# Configure entrypoint and command
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
RUN chmod +x /entrypoint.sh
WORKDIR /mattermost
CMD ["mattermost"]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment