Target Linux-64 (#137)
This commit is contained in:
Родитель
6cc8ea5cd2
Коммит
73eea3e90b
|
@ -78,7 +78,7 @@ RUN cd /
|
||||||
RUN chmod +x build_csharp_models.sh && ./build_csharp_models.sh
|
RUN chmod +x build_csharp_models.sh && ./build_csharp_models.sh
|
||||||
RUN cp /infer-out/models.sql /infer-release/usr/local/lib/infer/infer/lib/models.sql
|
RUN cp /infer-out/models.sql /infer-release/usr/local/lib/infer/infer/lib/models.sql
|
||||||
RUN dotnet test Cilsil.Test/Cilsil.Test.csproj
|
RUN dotnet test Cilsil.Test/Cilsil.Test.csproj
|
||||||
RUN dotnet publish -c Release Cilsil/Cilsil.csproj -r ubuntu.16.10-x64
|
RUN dotnet publish -c Release Cilsil/Cilsil.csproj -r linux-x64
|
||||||
RUN dotnet build Examples/Examples/Examples.csproj
|
RUN dotnet build Examples/Examples/Examples.csproj
|
||||||
|
|
||||||
FROM debian:bullseye-slim AS release
|
FROM debian:bullseye-slim AS release
|
||||||
|
@ -87,7 +87,7 @@ WORKDIR infersharp
|
||||||
COPY --from=backend /infer-release/usr/local /infersharp/infer
|
COPY --from=backend /infer-release/usr/local /infersharp/infer
|
||||||
ENV PATH /infersharp/infer/bin:${PATH}
|
ENV PATH /infersharp/infer/bin:${PATH}
|
||||||
COPY --from=backend /Examples/Examples/bin/Debug/net5.0/ /infersharp/Examples/
|
COPY --from=backend /Examples/Examples/bin/Debug/net5.0/ /infersharp/Examples/
|
||||||
COPY --from=backend /Cilsil/bin/Release/net5.0/ubuntu.16.10-x64/publish/ /infersharp/Cilsil/
|
COPY --from=backend /Cilsil/bin/Release/net5.0/linux-x64/publish/ /infersharp/Cilsil/
|
||||||
COPY --from=backend run_infersharp.sh /infersharp/
|
COPY --from=backend run_infersharp.sh /infersharp/
|
||||||
COPY --from=backend /.build/NOTICE.txt /
|
COPY --from=backend /.build/NOTICE.txt /
|
||||||
COPY --from=backend LICENSE /
|
COPY --from=backend LICENSE /
|
||||||
|
|
Загрузка…
Ссылка в новой задаче