-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tests): move dumper binary to bin & add support to run tests und…
…er arm64 arch
- Loading branch information
1 parent
a2b1d6d
commit 915d118
Showing
3 changed files
with
38 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-bionic as tools-install | ||
ARG ARCH= | ||
|
||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-bionic${ARCH} as tools-install | ||
|
||
RUN dotnet tool install -g dotnet-gcdump && \ | ||
dotnet tool install -g dotnet-trace | ||
|
||
FROM mcr.microsoft.com/dotnet/core/runtime:3.1 | ||
FROM mcr.microsoft.com/dotnet/core/runtime:3.1-bionic${ARCH} | ||
|
||
ARG DOTNET_TOOLS_PATH="/root/.dotnet/tools" | ||
ENV PATH="${PATH}:${DOTNET_TOOLS_PATH}" | ||
WORKDIR /app | ||
|
||
COPY --from=tools-install ${DOTNET_TOOLS_PATH} ${DOTNET_TOOLS_PATH} | ||
|
||
COPY ./dumper ./ | ||
COPY ./bin/dumper ./ | ||
|
||
ENTRYPOINT [ "/app/dumper" ] |
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