nicolas.dorier
5 years ago
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
5 changed files with
12 additions and
11 deletions
-
docker-compose-generator/docker-compose-generator.sln
-
docker-compose-generator/linuxamd64.Dockerfile
-
docker-compose-generator/linuxarm32v7.Dockerfile
-
docker-compose-generator/linuxarm64v8.Dockerfile
-
docker-compose-generator/src/docker-compose-generator.csproj
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
|
|
|
Microsoft Visual Studio Solution File, Format Version 12.00 |
|
|
|
# Visual Studio 15 |
|
|
|
VisualStudioVersion = 15.0.26124.0 |
|
|
|
# Visual Studio Version 16 |
|
|
|
VisualStudioVersion = 16.0.29519.181 |
|
|
|
MinimumVisualStudioVersion = 15.0.26124.0 |
|
|
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "docker-compose-generator", "src\docker-compose-generator.csproj", "{0900AF35-48E8-46E2-85B3-BA3847EE0844}" |
|
|
|
EndProject |
|
|
@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Misc", "Misc", "{8C1C711D-D |
|
|
|
..\.circleci\config.yml = ..\.circleci\config.yml |
|
|
|
linuxamd64.Dockerfile = linuxamd64.Dockerfile |
|
|
|
linuxarm32v7.Dockerfile = linuxarm32v7.Dockerfile |
|
|
|
linuxarm64v8.Dockerfile = linuxarm64v8.Dockerfile |
|
|
|
EndProjectSection |
|
|
|
EndProject |
|
|
|
Global |
|
|
|
|
|
@ -1,5 +1,5 @@ |
|
|
|
# |
|
|
|
FROM mcr.microsoft.com/dotnet/core/sdk:2.1.505-alpine3.7 AS builder |
|
|
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.100 AS builder |
|
|
|
WORKDIR /source |
|
|
|
COPY src/docker-compose-generator.csproj docker-compose-generator.csproj |
|
|
|
# Cache some dependencies |
|
|
@ -8,7 +8,7 @@ COPY src/. . |
|
|
|
RUN dotnet publish --output /app/ --configuration Release |
|
|
|
|
|
|
|
# |
|
|
|
FROM mcr.microsoft.com/dotnet/core/runtime:2.1.9-alpine3.7 |
|
|
|
FROM mcr.microsoft.com/dotnet/core/runtime:3.1.0-buster-slim |
|
|
|
LABEL org.btcpayserver.image=docker-compose-generator |
|
|
|
WORKDIR /datadir |
|
|
|
WORKDIR /app |
|
|
|
|
|
@ -1,5 +1,5 @@ |
|
|
|
# This is a manifest image, will pull the image with the same arch as the builder machine |
|
|
|
FROM mcr.microsoft.com/dotnet/core/sdk:2.1.505 AS builder |
|
|
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.100 AS builder |
|
|
|
WORKDIR /source |
|
|
|
COPY src/docker-compose-generator.csproj docker-compose-generator.csproj |
|
|
|
# Cache some dependencies |
|
|
@ -8,7 +8,7 @@ COPY src/. . |
|
|
|
RUN dotnet publish --output /app/ --configuration Release |
|
|
|
|
|
|
|
# Force the builder machine to take make an arm runtime image. This is fine as long as the builder does not run any program |
|
|
|
FROM mcr.microsoft.com/dotnet/core/runtime:2.1.9-stretch-slim-arm32v7 |
|
|
|
FROM mcr.microsoft.com/dotnet/core/runtime:3.1.0-buster-slim-arm32v7 |
|
|
|
LABEL org.btcpayserver.image=docker-compose-generator |
|
|
|
WORKDIR /datadir |
|
|
|
|
|
|
|
|
|
@ -1,14 +1,14 @@ |
|
|
|
# This is a manifest image, will pull the image with the same arch as the builder machine |
|
|
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0.100-preview7 AS builder |
|
|
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.100 AS builder |
|
|
|
WORKDIR /source |
|
|
|
COPY src/docker-compose-generator.csproj docker-compose-generator.csproj |
|
|
|
# Cache some dependencies |
|
|
|
RUN dotnet restore /p:TargetFrameworkOverride=netcoreapp3.0 |
|
|
|
RUN dotnet restore |
|
|
|
COPY src/. . |
|
|
|
RUN dotnet publish --output /app/ --configuration Release /p:TargetFrameworkOverride=netcoreapp3.0 |
|
|
|
RUN dotnet publish --output /app/ --configuration Release |
|
|
|
|
|
|
|
# Force the builder machine to take make an arm runtime image. This is fine as long as the builder does not run any program |
|
|
|
FROM mcr.microsoft.com/dotnet/core/runtime:3.0.0-preview7-buster-slim-arm64v8 |
|
|
|
FROM mcr.microsoft.com/dotnet/core/runtime:3.1.0-buster-slim-arm64v8 |
|
|
|
LABEL org.btcpayserver.image=docker-compose-generator |
|
|
|
WORKDIR /datadir |
|
|
|
|
|
|
|
|
|
@ -3,7 +3,7 @@ |
|
|
|
<PropertyGroup> |
|
|
|
<OutputType>Exe</OutputType> |
|
|
|
<LangVersion>7.3</LangVersion> |
|
|
|
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp2.1</TargetFramework> |
|
|
|
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp3.1</TargetFramework> |
|
|
|
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">$(TargetFrameworkOverride)</TargetFramework> |
|
|
|
<RootNamespace>DockerGenerator</RootNamespace> |
|
|
|
</PropertyGroup> |
|
|
|