Skip to content

Commit

Permalink
Make sure we use bundle exec
Browse files Browse the repository at this point in the history
  • Loading branch information
envygeeks committed Jun 29, 2017
1 parent ac42a20 commit ecdf70d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/boot
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ docker system prune -f

latest=$(ruby -e '
require "yaml"
$stdout.puts YAML.load_file("opts.yml")["tags"].keys.sort.keep_if { |v|
$stdout.puts YAML.load_file("opts.yml")["tags"].keys.sort.keep_if { |v|
v =~ /[0-9]\./
}.last
')

docker rmi "$IMAGE:$latest" $IMAGE:latest || true
docker-template build "$IMAGE:$latest" $IMAGE:latest --no-push
bundle exec docker-template build "$IMAGE:$latest" $IMAGE:latest --no-push
docker run --rm -it "$IMAGE:$latest" bash

0 comments on commit ecdf70d

Please sign in to comment.