forked from moonsharp-devs/moonsharp
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
28 lines (21 loc) · 1004 Bytes
/
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
FROM mono:5.18.1.28
# .NET Core
RUN apt-get update \
&& apt-get install -y apt-transport-https gnupg wget \
&& wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg \
&& mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ \
&& wget -q https://packages.microsoft.com/config/debian/9/prod.list \
&& mv prod.list /etc/apt/sources.list.d/microsoft-prod.list \
&& apt-get update \
&& apt-get install -y dotnet-sdk-2.2
# MoonSharp
WORKDIR /build
COPY ci.sh ci.sh
COPY src/MoonSharp.Interpreter src/MoonSharp.Interpreter/
COPY src/MoonSharp.Interpreter.Tests src/MoonSharp.Interpreter.Tests/
COPY src/MoonSharp.RemoteDebugger src/MoonSharp.RemoteDebugger/
COPY src/MoonSharp.VsCodeDebugger src/MoonSharp.VsCodeDebugger/
COPY src/TestRunners/ConsoleTestRunner src/TestRunners/ConsoleTestRunner/
COPY src/TestRunners/DotNetCoreTestRunner src/TestRunners/DotNetCoreTestRunner/
COPY src/moonsharp_ci.sln src/moonsharp_ci.sln
ENTRYPOINT ["sh", "/build/ci.sh"]