From a002f2ee66995ad2cd0372a37a5fd2355c061420 Mon Sep 17 00:00:00 2001 From: Michal Date: Sun, 18 Aug 2024 02:37:06 +0100 Subject: [PATCH] Enable docker file --- EdenicExporter/.dockerignore | 25 ++++++++++++++++++ EdenicExporter/Dockerfile | 18 +++++++++++++ EdenicExporter/DotNet.Docker.csproj | 1 + .../bin/Debug/net8.0/EdenicExporter.dll | Bin 20992 -> 20992 bytes .../bin/Debug/net8.0/EdenicExporter.pdb | Bin 23172 -> 23172 bytes .../net8.0/DotNet.Docker.AssemblyInfo.cs | 2 +- .../DotNet.Docker.AssemblyInfoInputs.cache | 2 +- .../obj/Debug/net8.0/EdenicExporter.dll | Bin 20992 -> 20992 bytes .../obj/Debug/net8.0/EdenicExporter.pdb | Bin 23172 -> 23172 bytes .../obj/Debug/net8.0/ref/EdenicExporter.dll | Bin 9728 -> 9728 bytes .../Debug/net8.0/refint/EdenicExporter.dll | Bin 9728 -> 9728 bytes 11 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 EdenicExporter/.dockerignore create mode 100644 EdenicExporter/Dockerfile diff --git a/EdenicExporter/.dockerignore b/EdenicExporter/.dockerignore new file mode 100644 index 0000000..38bece4 --- /dev/null +++ b/EdenicExporter/.dockerignore @@ -0,0 +1,25 @@ +**/.dockerignore +**/.env +**/.git +**/.gitignore +**/.project +**/.settings +**/.toolstarget +**/.vs +**/.vscode +**/.idea +**/*.*proj.user +**/*.dbmdl +**/*.jfm +**/azds.yaml +**/bin +**/charts +**/docker-compose* +**/Dockerfile* +**/node_modules +**/npm-debug.log +**/obj +**/secrets.dev.yaml +**/values.dev.yaml +LICENSE +README.md \ No newline at end of file diff --git a/EdenicExporter/Dockerfile b/EdenicExporter/Dockerfile new file mode 100644 index 0000000..e76c70e --- /dev/null +++ b/EdenicExporter/Dockerfile @@ -0,0 +1,18 @@ +FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base +WORKDIR /app + +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +WORKDIR /src +COPY ["EdenicExporter/DotNet.Docker.csproj", "EdenicExporter/"] +RUN dotnet restore "DotNet.Docker.csproj" +COPY . . +WORKDIR "/src/" +RUN dotnet build "DotNet.Docker.csproj" -c Release -o /app/build + +FROM build AS publish +RUN dotnet publish "DotNet.Docker.csproj" -c Release -o /app/publish + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "EdenicExporter.dll"] diff --git a/EdenicExporter/DotNet.Docker.csproj b/EdenicExporter/DotNet.Docker.csproj index 713601c..fb4635b 100644 --- a/EdenicExporter/DotNet.Docker.csproj +++ b/EdenicExporter/DotNet.Docker.csproj @@ -7,6 +7,7 @@ enable EdenicExporter EdenicExporter + Linux diff --git a/EdenicExporter/bin/Debug/net8.0/EdenicExporter.dll b/EdenicExporter/bin/Debug/net8.0/EdenicExporter.dll index 547b84f3233bf5ca49a471c7089beb089dfa9856..b8f85847ebe09e9742a83c9b4224b6f2b1cc1b80 100644 GIT binary patch delta 238 zcmZoz!q~8caY6^nO0TaS8+&~01lDhmoh<#@(Z6?2;*@DmLnJo8u;XLXFiA-^F|kNC zOSCXeGfA>YHB3ykOiWBRHZ!tFvothLvoK6GNJ~sk*(~R}kC8=o((gr+AGiew{J-<_ z)$O$3?&~+rTes0B?$Kli_bdgd;CGlHP_>ep`IZQy>kBzT95gC7pK|YF^*3QiVMt~$ z0YVEPZN`uYq)i#pfczvNE0w_zD3Z!x2_zGN^2R_FMnLg2pok%mmj+}T0_6>WERcN4 J=Ec6TEC3qMQfB}F delta 238 zcmZoz!q~8caY6^nhQ9nO8+&~01bWT|^yFXJ zmPdw1Cxf>3q}3a>Cp)-jDL@4|V1hu^0UAHg7swp#*gGrI-e~hF_byg{GX^6DONJx{ zV+KPYnaE%PWLYvK18Gx+R3JMM$TI-SnF2);8B!R`f&4_Eyg3k?0$HX&+88Wu45Upq JFZPXP0RWS8M%w@Y diff --git a/EdenicExporter/bin/Debug/net8.0/EdenicExporter.pdb b/EdenicExporter/bin/Debug/net8.0/EdenicExporter.pdb index 02b693283e6db139a854a6dd96933d9d26429885..408de1e55811b4761bdaf4d82d1fa0a216b7263c 100644 GIT binary patch delta 70 zcmV-M0J;B!wE={+0g!wY|J?cN+h+Smud<%5u{>Vl9g_Q^v5-&)AU&+Ef?#cZsmW*# c9h~my;ck#q1|lGtBJzpw)j@d?__7FuQas5dRsaA1 delta 70 zcmV-M0J;B!wE={+0g!wYyF_8@YDj2Ei2y4rlB=;RLK7{}v5-&)Aazum4)T{4d6qXz c9Z9ly-$Z34uEg8%hQ)`6t%|~yEwTuNQVuI01^@s6 diff --git a/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfo.cs b/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfo.cs index 96cf2fb..c77ee0d 100644 --- a/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfo.cs +++ b/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfo.cs @@ -13,7 +13,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("EdenicExporter")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+629b31ba839c85e3a90158ad79ac7c5a5c3d7334")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4dc448c6a85f4b8e1ae9aac3628f913f81e0facd")] [assembly: System.Reflection.AssemblyProductAttribute("EdenicExporter")] [assembly: System.Reflection.AssemblyTitleAttribute("EdenicExporter")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfoInputs.cache b/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfoInputs.cache index dab386b..912b2eb 100644 --- a/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfoInputs.cache +++ b/EdenicExporter/obj/Debug/net8.0/DotNet.Docker.AssemblyInfoInputs.cache @@ -1 +1 @@ -dc2545228af00b45c12efa3d9d4cdc6aa4d189b5fe6d0f026df2d080f789f0b7 +5c228d10401db4dd1d4ad269b584bd4d088ae38a1d6136da40dbf6cf8be68416 diff --git a/EdenicExporter/obj/Debug/net8.0/EdenicExporter.dll b/EdenicExporter/obj/Debug/net8.0/EdenicExporter.dll index 547b84f3233bf5ca49a471c7089beb089dfa9856..b8f85847ebe09e9742a83c9b4224b6f2b1cc1b80 100644 GIT binary patch delta 238 zcmZoz!q~8caY6^nO0TaS8+&~01lDhmoh<#@(Z6?2;*@DmLnJo8u;XLXFiA-^F|kNC zOSCXeGfA>YHB3ykOiWBRHZ!tFvothLvoK6GNJ~sk*(~R}kC8=o((gr+AGiew{J-<_ z)$O$3?&~+rTes0B?$Kli_bdgd;CGlHP_>ep`IZQy>kBzT95gC7pK|YF^*3QiVMt~$ z0YVEPZN`uYq)i#pfczvNE0w_zD3Z!x2_zGN^2R_FMnLg2pok%mmj+}T0_6>WERcN4 J=Ec6TEC3qMQfB}F delta 238 zcmZoz!q~8caY6^nhQ9nO8+&~01bWT|^yFXJ zmPdw1Cxf>3q}3a>Cp)-jDL@4|V1hu^0UAHg7swp#*gGrI-e~hF_byg{GX^6DONJx{ zV+KPYnaE%PWLYvK18Gx+R3JMM$TI-SnF2);8B!R`f&4_Eyg3k?0$HX&+88Wu45Upq JFZPXP0RWS8M%w@Y diff --git a/EdenicExporter/obj/Debug/net8.0/EdenicExporter.pdb b/EdenicExporter/obj/Debug/net8.0/EdenicExporter.pdb index 02b693283e6db139a854a6dd96933d9d26429885..408de1e55811b4761bdaf4d82d1fa0a216b7263c 100644 GIT binary patch delta 70 zcmV-M0J;B!wE={+0g!wY|J?cN+h+Smud<%5u{>Vl9g_Q^v5-&)AU&+Ef?#cZsmW*# c9h~my;ck#q1|lGtBJzpw)j@d?__7FuQas5dRsaA1 delta 70 zcmV-M0J;B!wE={+0g!wYyF_8@YDj2Ei2y4rlB=;RLK7{}v5-&)Aazum4)T{4d6qXz c9Z9ly-$Z34uEg8%hQ)`6t%|~yEwTuNQVuI01^@s6 diff --git a/EdenicExporter/obj/Debug/net8.0/ref/EdenicExporter.dll b/EdenicExporter/obj/Debug/net8.0/ref/EdenicExporter.dll index 26faac2d193bfca364052629f2173453241540f6..9fca12368aaa8d7ae7b1f609b34807c5d7f52300 100644 GIT binary patch delta 195 zcmZqhY4DlQ!D6{MK<5@vxVPCS--j6>a*to=6i=Np@_&4MiN88`oDWfjJh5|P}< zs9}aS^#M?hD0E3%8&-+CjnWh42D3FR0c~RnFy3O2C6Uuil+fZ41v5fAlncqZvbS0 MSR63i#8G{jn zB|{Q}F@qtHOk}VCvMd>rfwU<@Dv+HBMK<5@vxVPCS--j6>a*to=6i=Np@_&4MiN88`oDWfjJh5|P}< zs9}aS^#M?hD0E3%8&-+CjnWh42D3FR0c~RnFy3O2C6Uuil+fZ41v5fAlncqZvbS0 MSR63i#8G{jn zB|{Q}F@qtHOk}VCvMd>rfwU<@Dv+HB