mirror of
https://github.com/Caraxi/mare.server.git
synced 2026-01-31 14:14:36 +01:00
Merge ac51ab5390 into 6071598b59
This commit is contained in:
commit
4465982faa
12 changed files with 47 additions and 21 deletions
|
|
@ -1,6 +1,10 @@
|
|||
FROM mcr.microsoft.com/dotnet/sdk:8.0 as BUILD
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 as BUILD
|
||||
|
||||
RUN git clone --recurse-submodules https://github.com/Penumbra-Sync/server
|
||||
RUN git clone --recurse-submodules https://github.com/caraxi/mare.server
|
||||
|
||||
COPY MareAPI /server/MareAPI
|
||||
COPY MareSynchronosServer/MareSynchronosShared /server/MareSynchronosServer/MareSynchronosShared
|
||||
COPY MareSynchronosServer/MareSynchronosAuthService /server/MareSynchronosServer/MareSynchronosAuthService
|
||||
|
||||
WORKDIR /server/MareSynchronosServer/MareSynchronosAuthService/
|
||||
|
||||
|
|
@ -10,7 +14,7 @@ RUN dotnet publish \
|
|||
--output=/MareSynchronosAuthService \
|
||||
MareSynchronosAuthService.csproj
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
|
||||
RUN adduser \
|
||||
--disabled-password \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
FROM mcr.microsoft.com/dotnet/sdk:8.0 as BUILD
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 as BUILD
|
||||
|
||||
RUN git clone --recurse-submodules https://github.com/Penumbra-Sync/server
|
||||
RUN git clone --recurse-submodules https://github.com/caraxi/mare.server
|
||||
|
||||
COPY MareAPI /server/MareAPI
|
||||
COPY MareSynchronosServer/MareSynchronosShared /server/MareSynchronosServer/MareSynchronosShared
|
||||
COPY MareSynchronosServer/MareSynchronosServer /server/MareSynchronosServer/MareSynchronosServer
|
||||
|
||||
WORKDIR /server/MareSynchronosServer/MareSynchronosServer/
|
||||
|
||||
|
|
@ -10,7 +14,7 @@ RUN dotnet publish \
|
|||
--output=/MareSynchronosServer \
|
||||
MareSynchronosServer.csproj
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
|
||||
RUN adduser \
|
||||
--disabled-password \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
FROM mcr.microsoft.com/dotnet/sdk:8.0 as BUILD
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 as BUILD
|
||||
|
||||
RUN git clone --recurse-submodules https://github.com/Penumbra-Sync/server
|
||||
RUN git clone --recurse-submodules https://github.com/caraxi/mare.server
|
||||
|
||||
COPY MareAPI /server/MareAPI
|
||||
COPY MareSynchronosServer/MareSynchronosShared /server/MareSynchronosServer/MareSynchronosShared
|
||||
COPY MareSynchronosServer/MareSynchronosServices /server/MareSynchronosServer/MareSynchronosServices
|
||||
|
||||
WORKDIR /server/MareSynchronosServer/MareSynchronosServices/
|
||||
|
||||
|
|
@ -10,7 +14,7 @@ RUN dotnet publish \
|
|||
--output=/MareSynchronosServices \
|
||||
MareSynchronosServices.csproj
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0
|
||||
|
||||
RUN adduser \
|
||||
--disabled-password \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
FROM mcr.microsoft.com/dotnet/sdk:8.0 as BUILD
|
||||
|
||||
RUN git clone --recurse-submodules https://github.com/Penumbra-Sync/server
|
||||
RUN git clone --recurse-submodules https://github.com/caraxi/mare.server
|
||||
|
||||
COPY MareAPI /server/MareAPI
|
||||
COPY MareSynchronosServer/MareSynchronosShared /server/MareSynchronosServer/MareSynchronosShared
|
||||
COPY MareSynchronosServer/MareSynchronosStaticFilesServer /server/MareSynchronosServer/MareSynchronosStaticFilesServer
|
||||
|
||||
WORKDIR /server/MareSynchronosServer/MareSynchronosStaticFilesServer/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
#!/bin/sh
|
||||
docker build -t darkarchon/mare-synchronos-authservice:latest . -f ../Dockerfile-MareSynchronosAuthService-git --no-cache --pull --force-rm
|
||||
cd ../../../
|
||||
docker build -t darkarchon/mare-synchronos-authservice:latest . -f Docker/build/Dockerfile-MareSynchronosAuthService-git --no-cache --pull --force-rm
|
||||
cd Docker/build/linux-git
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
#!/bin/sh
|
||||
docker build -t darkarchon/mare-synchronos-server:latest . -f ../Dockerfile-MareSynchronosServer-git --no-cache --pull --force-rm
|
||||
cd ../../../
|
||||
docker build -t darkarchon/mare-synchronos-server:latest . -f Docker/build/Dockerfile-MareSynchronosServer-git --no-cache --pull --force-rm
|
||||
cd Docker/build/linux-git
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
#!/bin/sh
|
||||
docker build -t darkarchon/mare-synchronos-services:latest . -f ../Dockerfile-MareSynchronosServices-git --no-cache --pull --force-rm
|
||||
cd ../../../
|
||||
docker build -t darkarchon/mare-synchronos-services:latest . -f ../Dockerfile-MareSynchronosServices-git --no-cache --pull --force-rm
|
||||
cd Docker/build/linux-git
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
#!/bin/sh
|
||||
docker build -t darkarchon/mare-synchronos-staticfilesserver:latest . -f ../Dockerfile-MareSynchronosStaticFilesServer-git --no-cache --pull --force-rm
|
||||
cd ../../../
|
||||
docker build -t darkarchon/mare-synchronos-staticfilesserver:latest . -f Docker/build/Dockerfile-MareSynchronosStaticFilesServer-git --no-cache --pull --force-rm
|
||||
cd Docker/build/linux-git
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
#!/bin/sh
|
||||
docker build -t darkarchon/mare-synchronos-authservice:latest . -f ../Dockerfile-MareSynchronosAuthService --no-cache --pull --force-rm
|
||||
cd ../../../
|
||||
docker build -t darkarchon/mare-synchronos-authservice:latest . -f Docker/build/Dockerfile-MareSynchronosAuthService --no-cache --pull --force-rm
|
||||
cd Docker/build/linux-local
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
cd ../../../
|
||||
docker build -t darkarchon/mare-synchronos-server:latest . -f ../Dockerfile-MareSynchronosServer --no-cache --pull --force-rm
|
||||
cd Docker/build/linux-local
|
||||
docker build -t darkarchon/mare-synchronos-server:latest . -f Docker/build/Dockerfile-MareSynchronosServer --no-cache --pull --force-rm
|
||||
cd Docker/build/linux-local
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
cd ../../../
|
||||
docker build -t darkarchon/mare-synchronos-services:latest . -f ../Dockerfile-MareSynchronosServices --no-cache --pull --force-rm
|
||||
cd Docker/build/linux-local
|
||||
docker build -t darkarchon/mare-synchronos-services:latest . -f Docker/build/Dockerfile-MareSynchronosServices --no-cache --pull --force-rm
|
||||
cd Docker/build/linux-local
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
cd ../../../
|
||||
docker build -t darkarchon/mare-synchronos-staticfilesserver:latest . -f ../Dockerfile-MareSynchronosStaticFilesServer --no-cache --pull --force-rm
|
||||
cd Docker/build/linux-local
|
||||
docker build -t darkarchon/mare-synchronos-staticfilesserver:latest . -f Docker/build/Dockerfile-MareSynchronosStaticFilesServer --no-cache --pull --force-rm
|
||||
cd Docker/build/linux-local
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue