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
1b1db4c2
Commit
1b1db4c2
authored
Sep 13, 2018
by
Markus Frosch
Browse files
make-image: Don't require TTY
parent
9d33db8f
Pipeline
#2338
failed with stage
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
debootstrap/make-image.sh
View file @
1b1db4c2
...
...
@@ -9,7 +9,12 @@ if [ -n "$DOCKER_REGISTRY" ]; then
IMAGE
=
"
${
DOCKER_REGISTRY
}
/
${
IMAGE
}
"
fi
docker run
-it
--rm
\
opts
=
if
[
-t
1
]
&&
[
-t
0
]
;
then
opts
=
-t
fi
docker run
-i
$opts
--rm
\
--privileged
\
-e
"TARBALL=
$TARBALL
"
\
-v
"
$(
pwd
)
:/work"
-w
"/work"
\
...
...
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