Skip to content

Commit

Permalink
pr-fix: use chiseled base docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnmoreels committed May 28, 2024
1 parent 503012b commit f44164a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Arcus.Templates.AzureFunctions.EventHubs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated8.0 AS b
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy-chiseled AS build
WORKDIR /src
COPY ["Arcus.Templates.AzureFunctions.EventHubs.csproj", ""]

Expand Down
2 changes: 1 addition & 1 deletion src/Arcus.Templates.AzureFunctions.Http/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated8.0 AS b
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy-chiseled AS build
WORKDIR /src
COPY ["Arcus.Templates.AzureFunctions.Http.csproj", ""]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated8.0 AS b
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy-chiseled AS build
WORKDIR /src
COPY ["Arcus.Templates.AzureFunctions.ServiceBus.Queue.csproj", ""]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated8.0 AS b
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy-chiseled AS build
WORKDIR /src
COPY ["Arcus.Templates.AzureFunctions.ServiceBus.Topic.csproj", ""]

Expand Down
4 changes: 2 additions & 2 deletions src/Arcus.Templates.ServiceBus.Queue/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM mcr.microsoft.com/dotnet/runtime:8.0-alpine AS base
FROM mcr.microsoft.com/dotnet/runtime:8.0-jammy-chiseled AS base
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy-chiseled AS build
WORKDIR /src
COPY ["Arcus.Templates.ServiceBus.Queue.csproj", ""]

Expand Down
4 changes: 2 additions & 2 deletions src/Arcus.Templates.ServiceBus.Topic/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM mcr.microsoft.com/dotnet/runtime:8.0-alpine AS base
FROM mcr.microsoft.com/dotnet/runtime:8.0-jammy-chiseled AS base
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy-chiseled AS build
WORKDIR /src
COPY ["Arcus.Templates.ServiceBus.Topic.csproj", ""]

Expand Down
4 changes: 2 additions & 2 deletions src/Arcus.Templates.WebApi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0-jammy-chiseled AS base
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy-chiseled AS build
WORKDIR /src
COPY ["Arcus.Templates.WebApi.csproj", ""]

Expand Down

0 comments on commit f44164a

Please sign in to comment.