From 39d55c92f753b6da49fe860a839be42dd8cb6ce4 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 16 Apr 2017 12:54:10 -0700 Subject: [PATCH] oops --- blog/voiding-the-interview-2017-04-16.md | 2 ++ box.rb | 7 ++----- build.sh | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/blog/voiding-the-interview-2017-04-16.md b/blog/voiding-the-interview-2017-04-16.md index 773f898..79c0aee 100644 --- a/blog/voiding-the-interview-2017-04-16.md +++ b/blog/voiding-the-interview-2017-04-16.md @@ -3,6 +3,8 @@ title: Voiding the Interview date: 2017-04-16 --- +Voiding the Interview + A young man walks into the room, slightly frustrated-looking. He's obviously had a bad day so far. You can help him by creating a new state of mind. diff --git a/box.rb b/box.rb index 4823907..3d2ec43 100644 --- a/box.rb +++ b/box.rb @@ -7,15 +7,12 @@ run "go1.8.1 download" run "mkdir -p /site" def debug?() - return getenv("DEBUG") == "yes" + getenv("DEBUG") == "yes" end def debug!() run "apk add --no-cache bash" debug - run "apk del bash" - - puts "hint: flatten this image if deploying." end def put(file) @@ -46,7 +43,7 @@ debug! if debug? ### Cleanup run %q[ rm -rf /root/go /site/backend /root/sdk ] -run %q[ apk del git go1.8 site-builddep ] +run %q[ apk del git go1.8.1 site-builddep ] ### Runtime cmd "/site/run.sh" diff --git a/build.sh b/build.sh index cd4429d..b8be3a0 100755 --- a/build.sh +++ b/build.sh @@ -7,5 +7,5 @@ export PATH="$PATH:/usr/local/go/bin" export CI="true" cd /site/backend/christine.website -go1.8 build -v +go1.8.1 build -v mv christine.website /usr/bin