From cc73707c73fb53606b361f9db3605cd52ce145ed Mon Sep 17 00:00:00 2001 From: JustArchi Date: Tue, 5 May 2020 00:14:36 +0200 Subject: [PATCH] Copy resources in dockerfiles --- Dockerfile.Service.arm | 1 + Dockerfile.Service.arm64 | 1 + Dockerfile.Service.x64 | 1 + Dockerfile.arm | 1 + Dockerfile.arm64 | 1 + Dockerfile.x64 | 1 + 6 files changed, 6 insertions(+) diff --git a/Dockerfile.Service.arm b/Dockerfile.Service.arm index 6329eae81..d866f7d58 100644 --- a/Dockerfile.Service.arm +++ b/Dockerfile.Service.arm @@ -13,6 +13,7 @@ WORKDIR /app COPY --from=build-node /app/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests +COPY resources resources RUN dotnet --info && \ # TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \ diff --git a/Dockerfile.Service.arm64 b/Dockerfile.Service.arm64 index 2deafd96f..33d72bab5 100644 --- a/Dockerfile.Service.arm64 +++ b/Dockerfile.Service.arm64 @@ -13,6 +13,7 @@ WORKDIR /app COPY --from=build-node /app/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests +COPY resources resources RUN dotnet --info && \ # TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \ diff --git a/Dockerfile.Service.x64 b/Dockerfile.Service.x64 index 4009a6574..c42c76c51 100644 --- a/Dockerfile.Service.x64 +++ b/Dockerfile.Service.x64 @@ -13,6 +13,7 @@ WORKDIR /app COPY --from=build-node /app/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests +COPY resources resources RUN dotnet --info && \ # TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \ diff --git a/Dockerfile.arm b/Dockerfile.arm index a72d356bc..2012bb57c 100644 --- a/Dockerfile.arm +++ b/Dockerfile.arm @@ -13,6 +13,7 @@ WORKDIR /app COPY --from=build-node /app/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests +COPY resources resources RUN dotnet --info && \ # TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \ diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index 91464d722..3904a1806 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -13,6 +13,7 @@ WORKDIR /app COPY --from=build-node /app/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests +COPY resources resources RUN dotnet --info && \ # TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \ diff --git a/Dockerfile.x64 b/Dockerfile.x64 index 73e5acf58..be0460036 100644 --- a/Dockerfile.x64 +++ b/Dockerfile.x64 @@ -13,6 +13,7 @@ WORKDIR /app COPY --from=build-node /app/dist ASF-ui/dist COPY ArchiSteamFarm ArchiSteamFarm COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests +COPY resources resources RUN dotnet --info && \ # TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \