Skip to content

Commit

Permalink
Reverts alpine:8.0 upgrade (#1380)
Browse files Browse the repository at this point in the history
* Revert "Bump dotnet/sdk from 7.0-alpine to 8.0-alpine (#1323)"

This reverts commit 2bef8d8.

* Revert "Bump dotnet/aspnet from 7.0-alpine to 8.0-alpine (#1322)"

This reverts commit af9e322.
  • Loading branch information
ekumachidi authored Mar 12, 2024
1 parent 2bef8d8 commit de20cda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://hub.docker.com/_/microsoft-dotnet-core
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine AS build
WORKDIR /source
ARG GIT_COMMIT_SHA
ENV ASPNETCORE_URLS=http://+:8080
Expand All @@ -15,7 +15,7 @@ WORKDIR /source/GetIntoTeachingApi
RUN dotnet publish -c release -o /app

# final stage/image
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine

WORKDIR /app
COPY --from=build /app ./
Expand Down

0 comments on commit de20cda

Please sign in to comment.