Skip to content

Commit

Permalink
Update docker base images to 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-B- committed Feb 9, 2024
1 parent 13d35b5 commit 975a371
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions SoftPlc/Docker/arm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
VOLUME /data
ENV DATA_PATH=/data
EXPOSE 102
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY . .
RUN dotnet restore "SoftPlc.csproj"
Expand Down
4 changes: 2 additions & 2 deletions SoftPlc/Docker/linux-x64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
VOLUME /data
ENV DATA_PATH=/data
EXPOSE 102
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY . .
RUN dotnet restore "SoftPlc.csproj"
Expand Down
4 changes: 2 additions & 2 deletions SoftPlc/Docker/windows/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
VOLUME C:\\data
ENV DATA_PATH=C:\\data
EXPOSE 102
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY . .
RUN dotnet restore "SoftPlc.csproj"
Expand Down

0 comments on commit 975a371

Please sign in to comment.