-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Pass at upgrading to .NET 6 since 7 isnt supported by some packaging tools * Update `dotnet-tarball` to `0.1.220` * Update `dotnet-rpm` to `0.1.220` * Updated `DebDotNetDependencies` to include `libssl3`
- Loading branch information
1 parent
f6776e1
commit 55f6ecb
Showing
9 changed files
with
38 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:7.0 as build | ||
FROM mcr.microsoft.com/dotnet/sdk:6.0 as build | ||
WORKDIR /app | ||
|
||
COPY ./cli/dug.csproj . | ||
RUN dotnet restore | ||
COPY ./cli . | ||
RUN dotnet publish -r linux-x64 -c Release -p:PublishSingleFile=true -p:PublishReadyToRun=true --self-contained true -o publish | ||
|
||
FROM mcr.microsoft.com/dotnet/runtime:7.0 as runtime | ||
FROM mcr.microsoft.com/dotnet/runtime:6.0 as runtime | ||
WORKDIR /app | ||
COPY --from=build /app/publish . | ||
ENTRYPOINT [ "./dug" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#This DOckerfile "works" but for some reason the animated parts of the output dont look correct. | ||
FROM mcr.microsoft.com/dotnet/sdk:7.0 as build | ||
FROM mcr.microsoft.com/dotnet/sdk:6.0 as build | ||
WORKDIR /app | ||
|
||
COPY ./cli/dug.csproj . | ||
RUN dotnet restore | ||
COPY ./cli . | ||
RUN dotnet publish -r linux-musl-x64 -c Release -p:PublishSingleFile=true --self-contained true -o publish | ||
|
||
FROM mcr.microsoft.com/dotnet/runtime:7.0-alpine as runtime | ||
FROM mcr.microsoft.com/dotnet/runtime:6.0-alpine as runtime | ||
WORKDIR /app | ||
COPY --from=build /app/publish . | ||
ENTRYPOINT [ "./dug" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters