Skip to content

Commit

Permalink
#115 - Update docker images to v3.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Apr 2, 2020
1 parent 65b4195 commit c32b026
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.api-stretch-slim-arm32v7
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"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim-arm32v7
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim-arm32v7
RUN apt-get update \
&& apt-get install -y --allow-unauthenticated \
libc6-dev \
Expand Down

0 comments on commit c32b026

Please sign in to comment.