Skip to content

Commit

Permalink
Proper docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
LordMike committed Aug 8, 2023
1 parent 5221cd6 commit b048dde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MBW.BlueRiiot2MQTT/Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR "/src/MBW.BlueRiiot2MQTT/"
RUN dotnet publish -c release -o /app

# Final
FROM mcr.microsoft.com/dotnet/runtime:7.0-focal-arm64v8
FROM mcr.microsoft.com/dotnet/runtime:7.0-jammy-arm64v8
WORKDIR /app
COPY --from=build /app .
ENTRYPOINT ["dotnet", "MBW.BlueRiiot2MQTT.dll"]
2 changes: 1 addition & 1 deletion MBW.BlueRiiot2MQTT/Dockerfile.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR "/src/MBW.BlueRiiot2MQTT/"
RUN dotnet publish -c release -o /app

# Final
FROM mcr.microsoft.com/dotnet/runtime:7.0-focal-amd64
FROM mcr.microsoft.com/dotnet/runtime:7.0-jammy-amd64
WORKDIR /app
COPY --from=build /app .
ENTRYPOINT ["dotnet", "MBW.BlueRiiot2MQTT.dll"]
2 changes: 1 addition & 1 deletion MBW.BlueRiiot2MQTT/Dockerfile.armv7
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR "/src/MBW.BlueRiiot2MQTT/"
RUN dotnet publish -c release -o /app

# Final
FROM mcr.microsoft.com/dotnet/runtime:7.0-focal-arm32v7
FROM mcr.microsoft.com/dotnet/runtime:7.0-jammy-arm32v7
WORKDIR /app
COPY --from=build /app .
ENTRYPOINT ["dotnet", "MBW.BlueRiiot2MQTT.dll"]

0 comments on commit b048dde

Please sign in to comment.