Add label to the docker-compose generator

This commit is contained in:
nicolas.dorier
2019-09-24 00:40:57 +09:00
parent 93220b18b1
commit aed12e1a8a
3 changed files with 3 additions and 1 deletions

View File

@@ -9,8 +9,8 @@ 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:2.1.9-alpine3.7
LABEL org.btcpayserver.image=docker-compose-generator
WORKDIR /datadir WORKDIR /datadir
WORKDIR /app WORKDIR /app
ENV APP_DATADIR=/datadir ENV APP_DATADIR=/datadir
VOLUME /datadir VOLUME /datadir

View File

@@ -9,6 +9,7 @@ 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 # 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:2.1.9-stretch-slim-arm32v7
LABEL org.btcpayserver.image=docker-compose-generator
WORKDIR /datadir WORKDIR /datadir
WORKDIR /app WORKDIR /app

View File

@@ -9,6 +9,7 @@ RUN dotnet publish --output /app/ --configuration Release /p:TargetFrameworkOver
# Force the builder machine to take make an arm runtime image. This is fine as long as the builder does not run any program # 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.0.0-preview7-buster-slim-arm64v8
LABEL org.btcpayserver.image=docker-compose-generator
WORKDIR /datadir WORKDIR /datadir
WORKDIR /app WORKDIR /app