mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-12-26 13:55:49 +08:00
Feat/net6.0 upgrade (#1558)
* +semver: major upgrading from net5.0 to net6.0 * packages upgraded * removed global.json for ocelot sf sample * update build image * test new build * remove make * fix tests * make test fail like in CI * tests passing locally * updated docs Co-authored-by: TGP <thomasgardham-pallister@Thomass-MacBook-Pro-2.local>
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
# this is the dockerfile that create the ocelot build container
|
||||
# build with the docker-build.sh file in this folder
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-bionic AS build
|
||||
|
||||
RUN apt install gnupg ca-certificates
|
||||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
|
||||
RUN echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | tee /etc/apt/sources.list.d/mono-official-stable.list
|
||||
RUN apt update
|
||||
RUN apt-get -y install mono-devel
|
||||
|
||||
RUN wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
||||
&& dpkg -i packages-microsoft-prod.deb \
|
||||
&& apt-get update; \
|
||||
apt-get install -y apt-transport-https && \
|
||||
apt-get update && \
|
||||
apt-get install -y dotnet-sdk-5.0
|
||||
Reference in New Issue
Block a user