Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Docker Build Images
raspbian-base
Commits
b50e2050
Commit
b50e2050
authored
Nov 23, 2018
by
Markus Frosch
Browse files
debootstrap: Forward qemu-arm-static into the container
parent
cddefd03
Pipeline
#2985
failed with stage
in 3 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
debootstrap/make-image.sh
View file @
b50e2050
...
...
@@ -14,8 +14,14 @@ if [ -t 1 ] && [ -t 0 ]; then
opts
=
-t
fi
if
[
!
-x
/usr/bin/qemu-arm-static
]
;
then
echo
"Missing /usr/bin/qemu-arm-static to forward it inside the next container!"
>
&2
exit
1
fi
docker run
-i
$opts
--rm
\
--privileged
\
-e
"TARBALL=
$TARBALL
"
\
-v
/usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static:ro
\
-v
"
$(
pwd
)
:/work"
-w
"/work"
\
"
$IMAGE
"
"
$@
"
Write
Preview
Supports
Markdown
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