-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathDockerfile-mono
More file actions
19 lines (14 loc) · 1.16 KB
/
Dockerfile-mono
File metadata and controls
19 lines (14 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM debian:bullseye
RUN apt-get update
RUN apt-get -y install rake gnupg curl apt-transport-https dirmngr gnupg ca-certificates
RUN mkdir -p /tmp/gpg
RUN gpg --homedir /tmp/gpg --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN rm -rf /tmp/gpg
RUN echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/debian stable-bullseye main" | tee /etc/apt/sources.list.d/mono-official-stable.list
RUN apt-get update
RUN apt-get -y install mono-devel mono-complete mono-dbg referenceassemblies-pcl ca-certificates-mono mono-xsp4 mono-xbuild mono-vbnc binutils fsharp nuget libnewtonsoft-json-cil-dev libnewtonsoft-json5.0-cil
RUN apt-get -y install curl libunwind8 gettext apt-transport-https
# Install .NET Core 3.1 using the script method since it's no longer officially supported on Bullseye
RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 3.1 --install-dir /usr/share/dotnet
RUN ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
WORKDIR /home/admin/bt/braintree-dotnet