From 0058bc6fa5b6a3535b4063c81c1a8c72f08e31a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Domeradzki?= Date: Tue, 25 Jun 2024 00:32:15 +0200 Subject: [PATCH] Move dockerfiles from legacy KV format https://docs.docker.com/reference/build-checks/legacy-key-value-format/ --- Dockerfile | 14 +++++++------- Dockerfile.Service | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9936425da..1616e6fdb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,9 +19,9 @@ FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0${IMAGESUFFIX} AS ARG CONFIGURATION=Release ARG TARGETARCH ARG TARGETOS -ENV DOTNET_CLI_TELEMETRY_OPTOUT true -ENV DOTNET_NOLOGO true -ENV PLUGINS_BUNDLED ArchiSteamFarm.OfficialPlugins.ItemsMatcher ArchiSteamFarm.OfficialPlugins.MobileAuthenticator ArchiSteamFarm.OfficialPlugins.SteamTokenDumper +ENV DOTNET_CLI_TELEMETRY_OPTOUT=true +ENV DOTNET_NOLOGO=true +ENV PLUGINS_BUNDLED=ArchiSteamFarm.OfficialPlugins.ItemsMatcher ArchiSteamFarm.OfficialPlugins.MobileAuthenticator ArchiSteamFarm.OfficialPlugins.SteamTokenDumper WORKDIR /app COPY --from=build-node /app/ASF-ui/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm @@ -77,11 +77,11 @@ RUN --mount=type=secret,id=ASF_PRIVATE_SNK --mount=type=secret,id=STEAM_TOKEN_DU EOF FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0${IMAGESUFFIX} AS runtime -ENV ASF_PATH /app -ENV ASF_USER asf +ENV ASF_PATH=/app +ENV ASF_USER=asf ENV ASPNETCORE_URLS= -ENV DOTNET_CLI_TELEMETRY_OPTOUT true -ENV DOTNET_NOLOGO true +ENV DOTNET_CLI_TELEMETRY_OPTOUT=true +ENV DOTNET_NOLOGO=true LABEL maintainer="JustArchi " \ org.opencontainers.image.authors="JustArchi " \ diff --git a/Dockerfile.Service b/Dockerfile.Service index 320ac8cd7..c0694e5c6 100644 --- a/Dockerfile.Service +++ b/Dockerfile.Service @@ -19,9 +19,9 @@ FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0${IMAGESUFFIX} AS ARG CONFIGURATION=Release ARG TARGETARCH ARG TARGETOS -ENV DOTNET_CLI_TELEMETRY_OPTOUT true -ENV DOTNET_NOLOGO true -ENV PLUGINS_BUNDLED ArchiSteamFarm.OfficialPlugins.ItemsMatcher ArchiSteamFarm.OfficialPlugins.MobileAuthenticator ArchiSteamFarm.OfficialPlugins.SteamTokenDumper +ENV DOTNET_CLI_TELEMETRY_OPTOUT=true +ENV DOTNET_NOLOGO=true +ENV PLUGINS_BUNDLED=ArchiSteamFarm.OfficialPlugins.ItemsMatcher ArchiSteamFarm.OfficialPlugins.MobileAuthenticator ArchiSteamFarm.OfficialPlugins.SteamTokenDumper WORKDIR /app COPY --from=build-node /app/ASF-ui/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm @@ -77,11 +77,11 @@ RUN --mount=type=secret,id=ASF_PRIVATE_SNK --mount=type=secret,id=STEAM_TOKEN_DU EOF FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/runtime-deps:8.0${IMAGESUFFIX} AS runtime -ENV ASF_PATH /app -ENV ASF_USER asf +ENV ASF_PATH=/app +ENV ASF_USER=asf ENV ASPNETCORE_URLS= -ENV DOTNET_CLI_TELEMETRY_OPTOUT true -ENV DOTNET_NOLOGO true +ENV DOTNET_CLI_TELEMETRY_OPTOUT=true +ENV DOTNET_NOLOGO=true LABEL maintainer="JustArchi " \ org.opencontainers.image.authors="JustArchi " \