Skip to content

Commit 7a0be0c

Browse files
committed
container image dep fix: perl-base
1 parent 6501822 commit 7a0be0c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile.api

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ WORKDIR /source
55
# Update OS packages
66
RUN apt-get update && apt-get upgrade -y
77

8+
# Optionally, force install a specific version of perl-base if it is available.
9+
RUN apt-get install -y perl-base=5.40.0-8
10+
811
# Copy the entire solution
912
COPY . ./
1013

@@ -13,8 +16,7 @@ RUN dotnet restore
1316
RUN dotnet publish -c Release -o /publish
1417

1518
# Runtime stage
16-
FROM mcr.microsoft.com/dotnet/sdk:9.0-bookworm-slim
17-
# mcr.microsoft.com/dotnet/aspnet:9.0-slim
19+
FROM mcr.microsoft.com/dotnet/sdk:9.0
1820
WORKDIR /app
1921
COPY --from=build /publish .
2022

0 commit comments

Comments
 (0)