Skip to content

Commit

Permalink
alpine3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
davidleonm committed Nov 19, 2024
1 parent 17de4f4 commit 6305c78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG PROJECT_NAME_ARG
ARG ENVIRONMENT_ARG

# Pull down the image with .NET Core SDK
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine3.20-arm64v8 AS Build
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine3.15-arm64v8 AS Build
LABEL maintainer="David Leon <david.leon.m@gmail.com>"

# Global args re-mapped for this stage
Expand All @@ -24,10 +24,10 @@ WORKDIR "/src/$PROJECT_NAME_ARG"
RUN dotnet publish "./$PROJECT_NAME_ARG.csproj" --configuration Release --output "/app/publish"

# Pull down the image which includes only the ASP.NET core runtime
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine3.20-arm64v8
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine3.15-arm64v8

# Install needed app
RUN apk --no-cache add curl
RUN apk add --no-cache curl

# Global args re-mapped for this stage
ARG PROJECT_NAME_ARG
Expand Down

0 comments on commit 6305c78

Please sign in to comment.