Skip to content

Commit 5ffb05b

Browse files
authored
Add curl in the docker image to fix Problem to configure docker health check #301
1 parent 69b4ace commit 5ffb05b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ ENV SPRING_OUTPUT_ANSI_ENABLED=ALWAYS \
1717
JAVA_OPTS="" \
1818
SPRING_PROFILES_ACTIVE=prod
1919
EXPOSE 8761
20-
RUN mkdir /target && \
20+
RUN apk add --no-cache curl && \
21+
mkdir /target && \
2122
chmod g+rwx /target
2223
CMD java \
2324
${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom \

0 commit comments

Comments
 (0)