-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mono installation takes a long time and currently our CI has to do it almost 4 times which causes the CI to take forever to build, test and package a commit so to mitigate this issue this commit separates mono installation into a separate stage and uploads the resulting docker image into Gitlab's Container Registry and then we use that docker image for the rest of the stages. See merge request https://gitlab.com/nblockchain/geewallet/-/merge_requests/123
- Loading branch information
Showing
4 changed files
with
43 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM ubuntu:20.04 | ||
|
||
COPY "./scripts/install_mono_from_microsoft_deb_packages.sh" "/tmp/install_mono_from_microsoft_deb_packages.sh" | ||
|
||
RUN apt update | ||
RUN apt install -y make git curl zip | ||
RUN "/tmp/install_mono_from_microsoft_deb_packages.sh" | ||
RUN apt install -y nunit-console |
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,8 @@ | ||
FROM ubuntu:20.04 | ||
|
||
|
||
RUN apt update | ||
RUN apt install -y make git curl zip | ||
# https://askubuntu.com/a/1013396 | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt install -y mono-complete mono-xbuild fsharp nunit-console |