Skip to content

Commit

Permalink
Add the curl command to the docker image -- to check if container is …
Browse files Browse the repository at this point in the history
…healthy, for example.
  • Loading branch information
gsmachado committed Sep 4, 2018
1 parent f91d62b commit 0d8649f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ ENV EXEC_COMMAND="java -Djava.security.egd=file:/dev/./urandom -jar ${JAR_FILE_N

ADD ${JAR_FILE} ${JAR_FILE_NAME}

RUN apk add --update \
curl \
&& rm -rf /var/cache/apk/*

CMD [ "sh", "-c", "${EXEC_COMMAND}" ]

0 comments on commit 0d8649f

Please sign in to comment.