Adding curl to a couple of linux distros that were missing it.

This commit is contained in:
Livar Cunha 2018-06-27 21:40:29 -07:00
parent 4d93f3a7a8
commit 3408f785e8
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,8 @@
# Dockerfile that creates a container suitable to build dotnet-cli
FROM microsoft/dotnet-buildtools-prereqs:alpine-3.6-3148f11-20171119021156
RUN apk update && apk upgrade && apk add --no-cache curl ncurses
# This Dockerfile doesn't use the USER_ID, but the parameter needs to be declared to prevent docker
# from issuing a warning
ARG USER_ID=0

View file

@ -8,6 +8,8 @@ FROM microsoft/dotnet-buildtools-prereqs:ubuntu-18.04-f90bc20-20180320154721
RUN apt-get update && \
apt-get -qqy install \
curl \
libcurl4 \
sudo && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*