Created
December 21, 2018 17:06
-
-
Save ptupitsyn/1cbbdaef1fef7cc4be22addda19cade4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM microsoft/dotnet:2.1-sdk | |
WORKDIR /app | |
RUN apt update && apt install default-jdk -y --no-install-recommends | |
COPY *.csproj ./ | |
RUN dotnet restore | |
COPY . ./ | |
ENTRYPOINT ["dotnet", "run"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>netcoreapp2.1</TargetFramework> | |
<RootNamespace>ignite_docker_test</RootNamespace> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Apache.Ignite" Version="2.7.0" /> | |
</ItemGroup> | |
</Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading; | |
using Apache.Ignite.Core; | |
namespace ignite_docker_test | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Ignition.Start(); | |
Thread.Sleep(-1); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment