mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Runtime upgrade to .NET Core 2.1 (#804)
* Initial bump to .NET Core 2.1 * Add workaround for https://github.com/mono/linker/issues/286 * Deprecate BackgroundGCPeriod * Websockets updates * Misc * Check if travis works with 2.1 * Not yet * Fix travis for now * Test * Whatever, travis is broken right now * Schema update * Update travis * Test travis * Check OSX * Correct CI versions * Misc * Misc
This commit is contained in:
committed by
GitHub
parent
5a024a2d6f
commit
9a30277cf8
@@ -1,12 +1,12 @@
|
||||
FROM microsoft/dotnet:2.0-sdk AS build-env
|
||||
ENV NET_CORE_VERSION netcoreapp2.0
|
||||
FROM microsoft/dotnet:2.1-sdk AS build-env
|
||||
ENV NET_CORE_VERSION netcoreapp2.1
|
||||
WORKDIR /app
|
||||
COPY . ./
|
||||
RUN dotnet --info && \
|
||||
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
|
||||
FROM microsoft/dotnet:2.1-runtime-stretch-slim-arm32v7
|
||||
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
|
||||
EXPOSE 1242
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user