-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP ARM64 image support close #269 * added `build.fsx` support * added ARM64 integration testing * added Linux integration testing * fixing integration testing FAKE * fixing up `docker build` instructions * added more detailed logging * have `docker build` working again * fixed Docker images and ARM build * fixed Windows image name * allow cluster to actually form * fixed Azure Pipelines template * added fail gate back * added Windows runtime tests back * fixed powershell invocation * update ARM64 file to use `dotnet tool install -g -a arm64` * target Ubuntu 20.04 * removed `-a arm64` param * fixed formatting * ensure .NET Core 3.1 SDK is installed * skip installing .NET from CLI * disable PBM install on ARM64 * add a DockerInstall stage to AzDo * added `dotnet` commands back to ARM image * disable caching on `docker build` * try 3.1 base image * changed base image URIs * testing .NET 6 images * Revert "testing .NET 6 images" This reverts commit 4abd075. * enable Docker BuiltKit * removed Docker install, BuildKit, but added QEMU * clean up QEMU
- Loading branch information
1 parent
a32f665
commit d5be872
Showing
11 changed files
with
159 additions
and
230 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
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:3.1 AS base | ||
WORKDIR /app | ||
|
||
# Install Petabridge.Cmd client so it can be invoked remotely via | ||
# Docker or K8s 'exec` commands | ||
RUN dotnet tool install --global pbm | ||
|
||
# RUN pbm help | ||
|
||
COPY ./bin/Release/netcoreapp3.1/publish/ /app | ||
|
||
FROM mcr.microsoft.com/dotnet/runtime:3.1 AS app | ||
WORKDIR /app | ||
|
||
COPY --from=base /app /app | ||
|
||
# copy .NET Core global tool | ||
COPY --from=base /root/.dotnet /root/.dotnet/ | ||
|
||
# Needed because https://stackoverflow.com/questions/51977474/install-dotnet-core-tool-dockerfile | ||
ENV PATH="${PATH}:/root/.dotnet/tools" | ||
|
||
# should be a comma-delimited list | ||
ENV CLUSTER_SEEDS "[]" | ||
ENV CLUSTER_IP "" | ||
ENV CLUSTER_PORT "4053" | ||
ENV AKKA__CLUSTER__SPLIT_BRAIN_RESOLVER__ACTIVE_STRATEGY "keep-majority" | ||
ENV AKKA__REMOTE__DOT-NETTY__TCP__BATCHING__ENABLED "false" | ||
|
||
# 9110 - Petabridge.Cmd | ||
# 4053 - Akka.Cluster | ||
EXPOSE 9110 4053 | ||
|
||
CMD ["dotnet", "Lighthouse.dll"] |
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
Oops, something went wrong.