Skip to content

Commit

Permalink
Install jq and curl to allow for readiness probes in a Kubernetes env…
Browse files Browse the repository at this point in the history
…ironment
  • Loading branch information
battlecow committed Dec 6, 2018
1 parent 80605a8 commit 4d5f80d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ FROM tomcat:8.5.35-jre8-slim

LABEL Maintaner JamfDevops <devops@jamf.com>

RUN adduser --disabled-password --gecos '' tomcat && \
RUN apt-get update -qq && \
DEBIAN_FRONTEND=noninteractive apt-get install --ignore-missing --no-install-recommends -y jq curl && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
adduser --disabled-password --gecos '' tomcat && \
rm -rf /usr/local/tomcat/webapps && \
mkdir -p /usr/local/tomcat/webapps

Expand Down

0 comments on commit 4d5f80d

Please sign in to comment.