From a9810dc3c19c4b513d02d7e1edf385a070f62343 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Wed, 3 Jan 2018 07:18:36 +0100 Subject: [PATCH] Fix auto-updates of latest docker containers --- Dockerfile.Service.arm | 3 +-- Dockerfile.Service.x64 | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile.Service.arm b/Dockerfile.Service.arm index d94301c74..ddac247bb 100644 --- a/Dockerfile.Service.arm +++ b/Dockerfile.Service.arm @@ -1,8 +1,7 @@ FROM microsoft/dotnet:2.0-sdk AS build-env WORKDIR /app COPY . ./ -RUN dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:LinkDuringPublish=false && \ - echo "generic" > "ArchiSteamFarm/out/ArchiSteamFarm.version" && \ +RUN 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 diff --git a/Dockerfile.Service.x64 b/Dockerfile.Service.x64 index 12a7730a9..9579a57a9 100644 --- a/Dockerfile.Service.x64 +++ b/Dockerfile.Service.x64 @@ -1,8 +1,7 @@ FROM microsoft/dotnet:2.0-sdk AS build-env WORKDIR /app COPY . ./ -RUN dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:LinkDuringPublish=false && \ - echo "generic" > "ArchiSteamFarm/out/ArchiSteamFarm.version" && \ +RUN 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