Skip to content

Commit

Permalink
Add script/boot so people can test quickly.
Browse files Browse the repository at this point in the history
  • Loading branch information
envygeeks committed Jun 15, 2017
1 parent d8b8c42 commit 3a0dfd6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions script/boot
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash -l
[ "$DEBUG" ] && set -x
set -e

docker system prune -f
latest=$(ruby -e 'require "yaml"; $stdout.puts YAML.load_file("opts.yml")["tags"].keys.sort.keep_if { |v| v =~ /[0-9]\./ }.last')
docker rmi "jekyll/jekyll:$latest" || true
docker-template build "jekyll/jekyll:$latest" --no-push
docker run --rm -it \
"jekyll/jekyll:$latest" \
bash

0 comments on commit 3a0dfd6

Please sign in to comment.