docker: split minimum setup to separate script

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-17 00:00:00 +00:00
parent 0bd53a46f6
commit c2ac65a807
5 changed files with 18 additions and 9 deletions

12
setup Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Minimum requirements to run ./build --download-dependencies
y=
if [ $# -eq 1 ]; then
y=-y
fi
apt-get update
apt-get install $y \
git \
python3 \
python3-distutils \
;