mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 23:24:36 +00:00
Fix docker images
This commit is contained in:
parent
a515de5807
commit
f0b920f427
4 changed files with 8 additions and 4 deletions
|
@ -1,8 +1,9 @@
|
|||
FROM microsoft/dotnet:2.0-sdk AS build-env
|
||||
ENV NET_CORE_VERSION netcoreapp2.0
|
||||
WORKDIR /app
|
||||
COPY . ./
|
||||
RUN dotnet --info && \
|
||||
dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:ASFVariant=generic && \
|
||||
dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out /nologo /p:ASFVariant=generic && \
|
||||
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm-Service.sh" "ArchiSteamFarm/out/ArchiSteamFarm-Service.sh"
|
||||
|
||||
FROM microsoft/dotnet:2.0-runtime-stretch-arm32v7
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
FROM microsoft/dotnet:2.0-sdk AS build-env
|
||||
ENV NET_CORE_VERSION netcoreapp2.0
|
||||
WORKDIR /app
|
||||
COPY . ./
|
||||
RUN dotnet --info && \
|
||||
dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:ASFVariant=generic && \
|
||||
dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out /nologo /p:ASFVariant=generic && \
|
||||
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm-Service.sh" "ArchiSteamFarm/out/ArchiSteamFarm-Service.sh"
|
||||
|
||||
FROM microsoft/dotnet:2.0-runtime
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
FROM microsoft/dotnet:2.0-sdk AS build-env
|
||||
ENV NET_CORE_VERSION netcoreapp2.0
|
||||
WORKDIR /app
|
||||
COPY . ./
|
||||
RUN dotnet --info && \
|
||||
dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:ASFVariant=docker && \
|
||||
dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out /nologo /p:ASFVariant=docker && \
|
||||
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm.sh" "ArchiSteamFarm/out/ArchiSteamFarm.sh"
|
||||
|
||||
FROM microsoft/dotnet:2.0-runtime-stretch-arm32v7
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
FROM microsoft/dotnet:2.0-sdk AS build-env
|
||||
ENV NET_CORE_VERSION netcoreapp2.0
|
||||
WORKDIR /app
|
||||
COPY . ./
|
||||
RUN dotnet --info && \
|
||||
dotnet publish ArchiSteamFarm -c Release -o out /nologo /p:ASFVariant=docker && \
|
||||
dotnet publish ArchiSteamFarm -c Release -f "$NET_CORE_VERSION" -o out /nologo /p:ASFVariant=docker && \
|
||||
cp "ArchiSteamFarm/scripts/generic/ArchiSteamFarm.sh" "ArchiSteamFarm/out/ArchiSteamFarm.sh"
|
||||
|
||||
FROM microsoft/dotnet:2.0-runtime
|
||||
|
|
Loading…
Reference in a new issue