Skip to content

Commit

Permalink
target net 8
Browse files Browse the repository at this point in the history
  • Loading branch information
dalenewman committed Nov 18, 2023
1 parent c88f9f6 commit ef84c49
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

# docker buildx create --driver=docker-container --name=container

version="0.10.14"
build="mcr.microsoft.com/dotnet/sdk:6.0"
base="mcr.microsoft.com/dotnet/runtime:6.0"
version="0.10.15"
build="mcr.microsoft.com/dotnet/sdk:8.0"
base="mcr.microsoft.com/dotnet/runtime:8.0"
name="transformalize.cli"

# docker build -f "./src/CLI/Dockerfile" \
Expand All @@ -28,8 +28,8 @@ docker buildx build --builder=container \
--build-arg BUILD_IMAGE=$build \
--push .

build="mcr.microsoft.com/dotnet/sdk:6.0-alpine"
base="mcr.microsoft.com/dotnet/runtime:6.0-alpine"
build="mcr.microsoft.com/dotnet/sdk:8.0-alpine"
base="mcr.microsoft.com/dotnet/runtime:8.0-alpine"

# docker build -f "./src/CLI/Dockerfile" \
# --force-rm \
Expand Down
8 changes: 4 additions & 4 deletions src/CLI/CLI.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk;Microsoft.NET.Sdk.Publish">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>tfl</AssemblyName>
<RootNamespace>Transformalize.Cli</RootNamespace>
<StartupObject>Transformalize.Cli.Program</StartupObject>
<ApplicationIcon>tfl.ico</ApplicationIcon>
<Copyright>© 2013-2023 - Dale Newman</Copyright>
<PackageIcon>tfl.png</PackageIcon>

<Version>0.10.14-beta</Version>
<FileVersion>0.10.14</FileVersion>
<AssemblyVersion>0.10.14</AssemblyVersion>
<Version>0.10.15-beta</Version>
<FileVersion>0.10.15</FileVersion>
<AssemblyVersion>0.10.15</AssemblyVersion>

<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<DockerfileContext>..\..</DockerfileContext>
Expand Down
4 changes: 2 additions & 2 deletions src/CLI/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.

ARG BASE_IMAGE=mcr.microsoft.com/dotnet/runtime:6.0
ARG BUILD_IMAGE=mcr.microsoft.com/dotnet/sdk:6.0
ARG BASE_IMAGE=mcr.microsoft.com/dotnet/runtime:8.0
ARG BUILD_IMAGE=mcr.microsoft.com/dotnet/sdk:8.0

FROM ${BASE_IMAGE} AS base
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Test.Unit.Core/Test.Unit.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand Down

0 comments on commit ef84c49

Please sign in to comment.