<commit_before>FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env
WORKDIR /app

# Copy csproj and restore as distinct layers
COPY ./source/ ./

COPY . ./
RUN dotnet publish -c Release -o out

RUN dotnet publish ./source/TSQLLint.Console/TSQLLint.Console.csproj -c Release -f netcoreapp2.1 -r win-x86   -o assemblies/win-x86
RUN dotnet publish ./source/TSQLLint.Console/TSQLLint.Console.csproj -c Release -f netcoreapp2.1 -r win-x64   -o assemblies/win-x64
RUN dotnet publish ./source/TSQLLint.Console/TSQLLint.Console.csproj -c Release -f netcoreapp2.1 -r osx-x64   -o assemblies/osx-x64
RUN dotnet publish ./source/TSQLLint.Console/TSQLLint.Console.csproj -c Release -f netcoreapp2.1 -r linux-x64 -o assemblies/linux-x64<commit_msg>use dotnet core 3.1 to publish assemblies<commit_after>FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env

WORKDIR /app
COPY . .

RUN dotnet publish ./source/TSQLLint.Console/TSQLLint.Console.csproj -c Release -f netcoreapp3.1 -r win-x86   -o assemblies/win-x86
RUN dotnet publish ./source/TSQLLint.Console/TSQLLint.Console.csproj -c Release -f netcoreapp3.1 -r win-x64   -o assemblies/win-x64
RUN dotnet publish ./source/TSQLLint.Console/TSQLLint.Console.csproj -c Release -f netcoreapp3.1 -r osx-x64   -o assemblies/osx-x64
RUN dotnet publish ./source/TSQLLint.Console/TSQLLint.Console.csproj -c Release -f netcoreapp3.1 -r linux-x64 -o assemblies/linux-x64
{'fraction_non_alphanumeric': 0.11269614835948645, 'fraction_numerical': 0.03851640513552068, 'mean_word_length': 3.6303630363036303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6378996', 'n_tokens_mistral': 573, 'n_tokens_neox': 521, 'n_words': 131}