From e51075440ca3f1af397ea0b6613945d48d5fdf2a Mon Sep 17 00:00:00 2001 From: Mauricio Scheffer Date: Sun, 29 Oct 2023 14:25:10 +0000 Subject: [PATCH] net6.0 --- Dockerfile | 6 +++--- metabase-exporter/metabase-exporter.csproj | 10 +++++----- shell.nix | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7947c0c..d4a9f8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine AS builder +FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS builder WORKDIR /sln COPY . . RUN dotnet publish -FROM mcr.microsoft.com/dotnet/runtime:5.0-alpine +FROM mcr.microsoft.com/dotnet/runtime:6.0-alpine WORKDIR /app -COPY --from=builder ./sln/metabase-exporter/bin/Debug/net5.0/publish . +COPY --from=builder ./sln/metabase-exporter/bin/Debug/net6.0/publish . ENTRYPOINT ["dotnet", "metabase-exporter.dll"] diff --git a/metabase-exporter/metabase-exporter.csproj b/metabase-exporter/metabase-exporter.csproj index 7e67019..5a7d982 100644 --- a/metabase-exporter/metabase-exporter.csproj +++ b/metabase-exporter/metabase-exporter.csproj @@ -2,16 +2,16 @@ Exe - net5.0 + net6.0 true latest - - - - + + + + diff --git a/shell.nix b/shell.nix index b8e1e57..59fb718 100644 --- a/shell.nix +++ b/shell.nix @@ -1,10 +1,10 @@ with (import (builtins.fetchTarball { - url = "https://github.com/NixOS/nixpkgs/archive/ff13163e3fd5283d997d11fac04061f243d93f7c.tar.gz"; - sha256 = "0d1pn4r8mlyz6mndik6dw4m6h12nv04vkv79r0zkcaqgab5x9170"; + url = "https://github.com/NixOS/nixpkgs/archive/808c0d8c53c7ae50f82aca8e7df263225cf235bf.tar.gz"; + sha256 = "1kgk5jqc93kr180r6k32q1n0l9xk8vwji72i1zc2ijja61cgdvmh"; })){}; mkShell { buildInputs = [ - dotnet-sdk_5 + dotnet-sdk_6 docker-compose ]; }