From 35bb98c27aaf56f7e0c82cff81887c66f7ac81e1 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 25 Mar 2017 11:16:13 -0700 Subject: [PATCH] box.rb: add build-base, clean it up --- box.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/box.rb b/box.rb index 14efa43..3ac17fd 100644 --- a/box.rb +++ b/box.rb @@ -40,12 +40,13 @@ files.each { |x| put x } copy "vendor/", "/root/go/src/" ### Build +run "apk add --no-cache --virtual site-builddep build-base" run %q[ cd /site && sh ./build.sh ] debug! if debug? ### Cleanup -run %q[ rm -rf /go /site/backend /root/sdk ] -run %q[ apk del git go1.8 ] +run %q[ rm -rf /root/go /site/backend /root/sdk ] +run %q[ apk del git go1.8 site-builddep ] ### Runtime cmd "/site/run.sh"