From 52cba1737a8a7812e5430099f715fa2160ec007b Mon Sep 17 00:00:00 2001 From: Matteo Bini <91963243+b-matteo@users.noreply.github.com> Date: Tue, 19 Mar 2024 15:47:44 +0100 Subject: [PATCH] fix: linux Dockerfile - replace .NET6.0 references by .NET8.0 (#1069) Co-authored-by: pyansys-ci-bot Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> --- doc/changelog.d/1069.fixed.md | 1 + docker/linux/Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 doc/changelog.d/1069.fixed.md diff --git a/doc/changelog.d/1069.fixed.md b/doc/changelog.d/1069.fixed.md new file mode 100644 index 0000000000..6fc655f422 --- /dev/null +++ b/doc/changelog.d/1069.fixed.md @@ -0,0 +1 @@ +fix: linux Dockerfile - replace .NET6.0 references by .NET8.0 \ No newline at end of file diff --git a/docker/linux/Dockerfile b/docker/linux/Dockerfile index f49cef5c0e..68b80b030c 100644 --- a/docker/linux/Dockerfile +++ b/docker/linux/Dockerfile @@ -1,7 +1,7 @@ # Geometry service Linux-based Dockerfile # -# Based on mcr.microsoft.com/dotnet/aspnet:6.0 -FROM mcr.microsoft.com/dotnet/aspnet:6.0 +# Based on mcr.microsoft.com/dotnet/aspnet:8.0 +FROM mcr.microsoft.com/dotnet/aspnet:8.0 # Define the working directory - /app WORKDIR /app @@ -16,7 +16,7 @@ COPY linux-binaries.zip . RUN unzip -qq linux-binaries.zip -d . && \ rm linux-binaries.zip && \ chmod -R 0755 DockerLinux && \ - mv DockerLinux/bin/x64/Release_Linux/net6.0/* . && \ + mv DockerLinux/bin/x64/Release_Linux/net8.0/* . && \ rm -rf DockerLinux # Let the dynamic link loader where to search for shared libraries