From edf99fd689cb8d734b88d956f9ebf5c92165ddba Mon Sep 17 00:00:00 2001 From: Jaben Cargman Date: Mon, 1 Apr 2019 13:59:33 -0400 Subject: [PATCH] Added 'curl' to the runtime image so healthcheck option can be added for docker-compose. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 130de2b25..23a937ccc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,10 +37,11 @@ FROM microsoft/dotnet:2.2-runtime-deps-alpine # Default AspNetCore directory WORKDIR /app -# add libuv +# add libuv & curl RUN apk update \ && apk add --no-cache libc6-compat \ && apk add --no-cache libuv \ + && apk add --no-cache curl \ && ln -s /usr/lib/libuv.so.1 /usr/lib/libuv.so # Copy from build stage