Skip to content

Commit

Permalink
feat: use dotnet 8 SDK (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind authored Nov 9, 2023
1 parent 67a3b03 commit 6c55617
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ RUN curl -fsSL https://packages.microsoft.com/config/debian/10/packages-microsof
&& echo 'deb https://packages.erlang-solutions.com/debian bullseye contrib' >> /etc/apt/sources.list \
&& apt-get update -qq \
&& apt-get install -y --no-install-recommends \
dotnet-sdk-7.0 \
docker-ce-cli \
erlang \
elixir \
Expand All @@ -72,6 +71,17 @@ RUN curl -fsSL https://packages.microsoft.com/config/debian/10/packages-microsof
&& rm /tmp/sym-collector.zip \
&& chmod +x /usr/local/bin/SymbolCollector.Console

# Install .NET SDK
RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.100-rc.2.23502.2/dotnet-sdk-8.0.100-rc.2.23502.2-linux-x64.tar.gz \
&& dotnet_sha512='45f09e7b031f4cf5b4dcead240fe47e2e3731d97d22aa96d3a02a087322658606cc22792053c3784c44f15d7c9bad0ac9dbda90def7b4e197f2955dca9a5bb6c' \
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -oxzf dotnet.tar.gz -C /usr/share/dotnet \
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet \
&& rm dotnet.tar.gz \
# Trigger first run experience by running arbitrary cmd
&& dotnet help

# https://docs.flutter.dev/get-started/install/linux#install-flutter-manually
RUN curl -fsSL https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.10.0-stable.tar.xz -o /opt/flutter.tar.xz \
&& tar xf /opt/flutter.tar.xz -C /opt \
Expand Down

0 comments on commit 6c55617

Please sign in to comment.