File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
src/Microsoft.ComponentDetection.Orchestrator/Services Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
- FROM mcr.microsoft.com/dotnet/sdk:3.1 -cbl-mariner1 .0 AS build
1
+ FROM mcr.microsoft.com/dotnet/sdk:6.0 -cbl-mariner2 .0 AS build
2
2
WORKDIR /app
3
3
COPY . .
4
4
RUN dotnet publish -c Release -o out \
@@ -8,18 +8,15 @@ RUN dotnet publish -c Release -o out \
8
8
-p:PublishReadyToRun=false \
9
9
-p:IncludeNativeLibrariesForSelfExtract=true \
10
10
-p:PublishSingleFile=true \
11
- -p:PublishTrimmed=true \
12
- -p:TrimUnusedDependencies=true \
13
11
./src/Microsoft.ComponentDetection
14
12
15
- FROM mcr.microsoft.com/dotnet/runtime-deps:6.0-cbl-mariner1 .0 AS runtime
13
+ FROM mcr.microsoft.com/dotnet/runtime-deps:6.0-cbl-mariner2 .0 AS runtime
16
14
WORKDIR /app
17
15
COPY --from=build /app/out ./
18
16
19
17
RUN tdnf install -y \
20
18
golang \
21
19
moby-engine \
22
- gradle \
23
20
maven \
24
21
pnpm \
25
22
poetry \
Original file line number Diff line number Diff line change @@ -137,9 +137,8 @@ public ExcludeDirectoryPredicate GenerateDirectoryExclusionPredicate(string orig
137
137
138
138
if ( directoryExclusionListObsolete ? . Any ( ) == true )
139
139
{
140
+ // Note: directory info will *automatically* parent relative paths to the working directory of the current assembly. Hold on to your rear.
140
141
var directories = directoryExclusionListObsolete
141
-
142
- // Note: directory info will *automatically* parent relative paths to the working directory of the current assembly. Hold on to your rear.
143
142
. Select ( relativeOrAbsoluteExclusionPath => new DirectoryInfo ( relativeOrAbsoluteExclusionPath ) )
144
143
. Select ( exclusionDirectoryInfo => new
145
144
{
You can’t perform that action at this time.
0 commit comments