Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
b7120d27
Unverified
Commit
b7120d27
authored
Sep 04, 2021
by
Nikita Titov
Committed by
GitHub
Sep 03, 2021
Browse files
[ci] simplify docker info parsing in QEMU builds (#4592)
parent
e347db8a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
.vsts-ci.yml
.vsts-ci.yml
+1
-5
No files found.
.vsts-ci.yml
View file @
b7120d27
...
...
@@ -162,7 +162,6 @@ jobs:
sudo apt-get update
sudo apt-get install --no-install-recommends -y \
binfmt-support \
jq \
qemu \
qemu-user \
qemu-user-static
...
...
@@ -193,10 +192,7 @@ jobs:
EOF
IMAGE_URI="quay.io/pypa/manylinux2014_${ARCH}"
docker pull "${IMAGE_URI}" || exit -1
PLATFORM=$(
docker image inspect "${IMAGE_URI}" \
| jq -r '.[0] | "\(.Os)/\(.Architecture)"'
) || exit -1
PLATFORM=$(docker inspect --format='{{.Os}}/{{.Architecture}}' "${IMAGE_URI}") || exit -1
echo "detected image platform: ${PLATFORM}"
docker run \
--platform "${PLATFORM}" \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment