-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#115 - Update docker images to v3.1.
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# Build sources. | ||
FROM mcr.microsoft.com/dotnet/core/sdk:2.2 AS build | ||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build | ||
WORKDIR /src | ||
COPY . ./ | ||
WORKDIR /src/src/Recollections.Api | ||
RUN dotnet publish -c Release -r linux-arm -o /app | ||
|
||
# Final image. | ||
FROM neptuo/aspnet-system-drawing:2.2-stretch-slim-arm32v7 | ||
FROM neptuo/aspnet-system-drawing:3.1-buster-slim-arm32v7 | ||
WORKDIR /app | ||
COPY --from=build /app . | ||
ENTRYPOINT ["./Recollections.Api"] |
2 changes: 1 addition & 1 deletion
2
docker/Dockerfile.aspnet-system-drawing-deps-stretch-slim-arm32v7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters