Merge pull request #37 from Azure/zheyushen/build-fix
switch to EL8 image and fix pipeline
This commit is contained in:
Коммит
b12387f4db
|
@ -25,5 +25,5 @@ jobs:
|
|||
-e PUBLISH_PACKAGE_PASSWORD=${{ secrets.AZURE_ARTIFACTS_PASSWORD }} \
|
||||
-v "$(pwd):/hpcpack-linux-agent" \
|
||||
-w "/hpcpack-linux-agent/nodemanager" \
|
||||
ghcr.io/phusion/holy-build-box/hbb-64 \
|
||||
bash build_and_get_artifact.sh
|
||||
phusion/holy-build-box:latest \
|
||||
bash build_and_get_artifact.sh
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
We offer an script to help build artifacts. You can build and get artifacts under `build` by running:
|
||||
|
||||
```bash
|
||||
docker run -t -i --rm -v `pwd`/../:/hpcpack-linux-agent ghcr.io/phusion/holy-build-box/hbb-64 bash /hpcpack-linux-agent/nodemanager/build_and_get_artifact.sh
|
||||
docker run -t -i --rm -v `pwd`/../:/hpcpack-linux-agent phusion/holy-build-box:latest bash /hpcpack-linux-agent/nodemanager/build_and_get_artifact.sh
|
||||
```
|
||||
|
||||
## Conding Convention
|
||||
|
|
|
@ -13,7 +13,9 @@ export SHLIB_CXXFLAGS="$SHLIB_CXXFLAGS -O0"
|
|||
set -x
|
||||
|
||||
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
|
||||
yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
|
||||
yum update -y
|
||||
yum install yum-utils -y
|
||||
yum-config-manager --add-repo http://download.mono-project.com/repo/centos8/
|
||||
yum update -y
|
||||
yum install perl-IPC-Cmd kernel-devel mono-complete -y
|
||||
curl -o /usr/local/bin/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
|
||||
|
|
Загрузка…
Ссылка в новой задаче