Browse Source

Merge pull request #351 from CaptiveAire/cas-docker-curl-addition

Added 'curl' to the runtime image
pull/352/head
Sebastian Stehle 8 years ago
committed by GitHub
parent
commit
d657ddbfc6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Dockerfile

3
Dockerfile

@ -37,10 +37,11 @@ FROM microsoft/dotnet:2.2-runtime-deps-alpine
# Default AspNetCore directory # Default AspNetCore directory
WORKDIR /app WORKDIR /app
# add libuv # add libuv & curl
RUN apk update \ RUN apk update \
&& apk add --no-cache libc6-compat \ && apk add --no-cache libc6-compat \
&& apk add --no-cache libuv \ && apk add --no-cache libuv \
&& apk add --no-cache curl \
&& ln -s /usr/lib/libuv.so.1 /usr/lib/libuv.so && ln -s /usr/lib/libuv.so.1 /usr/lib/libuv.so
# Copy from build stage # Copy from build stage

Loading…
Cancel
Save