aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2017-04-16 12:54:10 -0700
committerChristine Dodrill <me@christine.website>2017-04-16 12:54:10 -0700
commit39d55c92f753b6da49fe860a839be42dd8cb6ce4 (patch)
treeae600f31755c93df31ed24e6a4c6a737c03cc2ee
parent99769daaba23e4ce99f18f07b020debc76372608 (diff)
downloadxesite-39d55c92f753b6da49fe860a839be42dd8cb6ce4.tar.xz
xesite-39d55c92f753b6da49fe860a839be42dd8cb6ce4.zip
oops
-rw-r--r--blog/voiding-the-interview-2017-04-16.md2
-rw-r--r--box.rb7
-rwxr-xr-xbuild.sh2
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