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
open-source
SemWeb
libview
Commits
350910a976c3
Commit
3879e2fb
authored
Sep 27, 2018
by
Laurent Wouters
Browse files
[releng] Build the environment as required
parent
8d43d90da58e
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
350910a9
...
...
@@ -9,6 +9,13 @@ HASH=$(hg -R "$ROOT" --debug id -i)
# Cleanup
hg
-R
"
$ROOT
"
purge
--all
BUILDER
=
$(
docker images |
grep
-o
-E
'^logilab/ld-build-env(\s)+latest'
|
wc
-l
)
if
[
"
$BUILDER
"
-lt
"1"
]
;
then
echo
"=> Build environment must be created"
"
$ROOT
/.releng/build-env.sh"
fi
# Execute the build
docker run
-it
--rm
--user
=
$(
id
-u
)
--group-add
=
$(
id
-g
)
-v
"
$ROOT
:/src"
-e
"HOME=/npm"
"logilab/ld-build-env:latest"
/src/.releng/build-src.sh
...
...
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