Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
update docker
Browse files Browse the repository at this point in the history
  • Loading branch information
wfurt committed Aug 4, 2022
1 parent f4f0c6b commit 4708c81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eng/pipelines/templates/build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ parameters:
pool: {}
isOfficialBuild: false
runTests: true
docker: ''

jobs:

Expand Down Expand Up @@ -55,6 +54,7 @@ jobs:
- OPENSSL_ROOT_DIR: /usr/local/opt/openssl@1.1

- _testBuildArg: ''
- _docker: ''
- ${{ if eq(parameters.runTests, true) }}:
- _testBuildArg: -test

Expand All @@ -80,7 +80,7 @@ jobs:
- ${{ if eq(parameters.archType, 'arm64') }}:
- script: sudo apt-get update && sudo apt-get install -y qemu binfmt-support qemu-user-static docker
- script: sudo update-binfmts --enable qemu-arm && sudo update-binfmts --enable qemu-aarch64
docker: docker run -ti mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-arm64v8-20220803130954-bfcd90a --volume /:/
- _docker: docker run -ti mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-arm64v8-20220803130954-bfcd90a --volume /:/

- ${{ if eq(parameters.osGroup, 'Windows') }}:
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
Expand All @@ -93,7 +93,7 @@ jobs:
- script: gem install fpm
displayName: Install fpm

- script: $(docker) $(_buildScript)
- script: $(_docker) $(_buildScript)
-ci
-c $(_BuildConfig)
$(_testBuildArg)
Expand Down

0 comments on commit 4708c81

Please sign in to comment.