Add dotnet --info to dockerfiles

This commit is contained in:
JustArchi 2018-02-05 04:54:48 +01:00
parent 426002aaa2
commit 76e54fdb0a
4 changed files with 8 additions and 4 deletions

View file

@ -1,7 +1,8 @@
FROM microsoft/dotnet:2.0-sdk AS build-env
WORKDIR /app
COPY . ./
RUN dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:ASFVariant=generic /p:LinkDuringPublish=false && \
RUN dotnet --info && \
dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:ASFVariant=generic /p:LinkDuringPublish=false && \
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm-Service.sh" "ArchiSteamFarm/out/ArchiSteamFarm-Service.sh"
FROM microsoft/dotnet:2.0-runtime-stretch-arm32v7

View file

@ -1,7 +1,8 @@
FROM microsoft/dotnet:2.0-sdk AS build-env
WORKDIR /app
COPY . ./
RUN dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:ASFVariant=generic /p:LinkDuringPublish=false && \
RUN dotnet --info && \
dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:ASFVariant=generic /p:LinkDuringPublish=false && \
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm-Service.sh" "ArchiSteamFarm/out/ArchiSteamFarm-Service.sh"
FROM microsoft/dotnet:2.0-runtime

View file

@ -1,7 +1,8 @@
FROM microsoft/dotnet:2.0-sdk AS build-env
WORKDIR /app
COPY . ./
RUN dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:LinkDuringPublish=false && \
RUN dotnet --info && \
dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:LinkDuringPublish=false && \
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm.sh" "ArchiSteamFarm/out/ArchiSteamFarm.sh"
FROM microsoft/dotnet:2.0-runtime-stretch-arm32v7

View file

@ -1,7 +1,8 @@
FROM microsoft/dotnet:2.0-sdk AS build-env
WORKDIR /app
COPY . ./
RUN dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:LinkDuringPublish=false && \
RUN dotnet --info && \
dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:LinkDuringPublish=false && \
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm.sh" "ArchiSteamFarm/out/ArchiSteamFarm.sh"
FROM microsoft/dotnet:2.0-runtime