Dockerfile 1004 B

12345678910111213141516171819202122232425262728
  1. FROM mono:5.18.1.28
  2. # .NET Core
  3. RUN apt-get update \
  4. && apt-get install -y apt-transport-https gnupg wget \
  5. && wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg \
  6. && mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ \
  7. && wget -q https://packages.microsoft.com/config/debian/9/prod.list \
  8. && mv prod.list /etc/apt/sources.list.d/microsoft-prod.list \
  9. && apt-get update \
  10. && apt-get install -y dotnet-sdk-2.2
  11. # MoonSharp
  12. WORKDIR /build
  13. COPY ci.sh ci.sh
  14. COPY src/MoonSharp.Interpreter src/MoonSharp.Interpreter/
  15. COPY src/MoonSharp.Interpreter.Tests src/MoonSharp.Interpreter.Tests/
  16. COPY src/MoonSharp.RemoteDebugger src/MoonSharp.RemoteDebugger/
  17. COPY src/MoonSharp.VsCodeDebugger src/MoonSharp.VsCodeDebugger/
  18. COPY src/TestRunners/ConsoleTestRunner src/TestRunners/ConsoleTestRunner/
  19. COPY src/TestRunners/DotNetCoreTestRunner src/TestRunners/DotNetCoreTestRunner/
  20. COPY src/moonsharp_ci.sln src/moonsharp_ci.sln
  21. ENTRYPOINT ["sh", "/build/ci.sh"]