You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--setup Set up the Gitian building environment. Uses LXC. If you want to use KVM, use the --kvm option. Only works on Debian-based systems (Ubuntu, Debian)
52
54
--detach-sign Create the assert file for detached signing. Will not commit anything.
53
55
--no-commit Do not commit anything to git
@@ -156,6 +158,16 @@ while :; do
156
158
--kvm)
157
159
lxc=false
158
160
;;
161
+
# docker
162
+
--docker)
163
+
if [[ $lxc=false ]]
164
+
then
165
+
echo'Error: cannot have both kvm and docker'
166
+
exit 1
167
+
fi
168
+
lxc=false
169
+
docker=true
170
+
;;
159
171
# Detach sign
160
172
--detach-sign)
161
173
signProg="true"
@@ -181,6 +193,12 @@ then
181
193
export USE_LXC=1
182
194
fi
183
195
196
+
# Setup docker
197
+
if [[ $docker=true ]]
198
+
then
199
+
export USE_DOCKER=1
200
+
fi
201
+
184
202
# Check for OSX SDK
185
203
if [[ !-e"gitian-builder/inputs/MacOSX10.11.sdk.tar.gz"&&$osx==true ]]
0 commit comments