Skip to content

Commit 7e39f8c

Browse files
committed
Fixing the build
1 parent 07d04e6 commit 7e39f8c

File tree

5 files changed

+6
-65
lines changed

5 files changed

+6
-65
lines changed

Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ RUN apt update && \
1414
# Build stage image
1515
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
1616
ARG BUILD_CONFIGURATION=Release
17-
ARG TARGETARCH=x64
1817
ENV BUILD_CONFIGURATION=${BUILD_CONFIGURATION}
1918
WORKDIR /src
2019

@@ -24,17 +23,17 @@ COPY ["src/KeeperData.Infrastructure/KeeperData.Infrastructure.csproj", "KeeperD
2423
COPY ["src/KeeperData.Application/KeeperData.Application.csproj", "KeeperData.Application/"]
2524
COPY ["src/KeeperData.Core/KeeperData.Core.csproj", "KeeperData.Core/"]
2625

27-
RUN dotnet restore "KeeperData.Bridge/KeeperData.Bridge.csproj" -r linux-${TARGETARCH} -v n
28-
RUN dotnet restore "KeeperData.Bridge.Worker/KeeperData.Bridge.Worker.csproj" -r linux-${TARGETARCH} -v n
29-
RUN dotnet restore "KeeperData.Infrastructure/KeeperData.Infrastructure.csproj" -r linux-${TARGETARCH} -v n
30-
RUN dotnet restore "KeeperData.Application/KeeperData.Application.csproj" -r linux-${TARGETARCH} -v n
31-
RUN dotnet restore "KeeperData.Core/KeeperData.Core.csproj" -r linux-${TARGETARCH} -v n
26+
RUN dotnet restore "KeeperData.Bridge/KeeperData.Bridge.csproj" -r linux-x64 -v n
27+
RUN dotnet restore "KeeperData.Bridge.Worker/KeeperData.Bridge.Worker.csproj" -r linux-x64 -v n
28+
RUN dotnet restore "KeeperData.Infrastructure/KeeperData.Infrastructure.csproj" -r linux-x64 -v n
29+
RUN dotnet restore "KeeperData.Application/KeeperData.Application.csproj" -r linux-x64 -v n
30+
RUN dotnet restore "KeeperData.Core/KeeperData.Core.csproj" -r linux-x64 -v n
3231

3332
COPY ["src/", "."]
3433

3534
FROM build AS publish
3635
WORKDIR "/src/KeeperData.Bridge"
37-
RUN dotnet publish "KeeperData.Bridge.csproj" -v n -c ${BUILD_CONFIGURATION} -o /app/publish -r linux-${TARGETARCH} --no-restore /p:UseAppHost=false
36+
RUN dotnet publish "KeeperData.Bridge.csproj" -v n -c ${BUILD_CONFIGURATION} -o /app/publish -r linux-x64 --no-restore /p:UseAppHost=false
3837

3938
ENV ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
4039

compose/start-localstack.sh

100755100644
File mode changed.

docker-compose.override.mac.arm.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

docker-compose.override.mac.intel.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

docker-compose.override.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,3 @@ services:
2020
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
2121
- ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
2222
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
23-
networks:
24-
- cdp-tenant

0 commit comments

Comments
 (0)