-
Notifications
You must be signed in to change notification settings - Fork 301
/
Dockerfile
43 lines (39 loc) · 1.22 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM ubuntu:16.04
# Below dependecies are added from Dependencies menetion at
# https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-1604
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
apt-transport-https \
curl \
ca-certificates \
dirmngr \
gnupg \
libc6 \
libcurl3 \
libgcc1 \
libgssapi-krb5-2 \
libicu55 \
liblttng-ust0 \
libssl1.0.2 \
libstdc++6 \
libunwind8 \
libuuid1 \
make \
software-properties-common \
wget \
zlib1g \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
&& apt-add-repository 'deb https://download.mono-project.com/repo/ubuntu stable-xenial main' \
&& wget https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
&& dpkg -i packages-microsoft-prod.deb \
&& apt-get update \
&& apt-get install -y \
dotnet-sdk-6.0 \
mono-complete \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /twilio
COPY src ./src
COPY test ./test
COPY Twilio.sln .
COPY Makefile .
RUN dotnet restore