Switch ruby-hello-world test to use the common "run-ruby-in-container.sh" helper

This commit is contained in:
Tianon Gravi 2015-11-09 15:43:33 -08:00
parent 6064cb5b1a
commit 96a402b28e
2 changed files with 1 additions and 8 deletions

View File

@ -1,8 +0,0 @@
#!/bin/bash
set -e
image="$1"
dirTest="$(dirname "$(readlink -f "$BASH_SOURCE")")"
dirContainer='/usr/src/ruby'
docker run --rm -v "$dirTest":"$dirContainer":ro -w "$dirContainer" "$image" ruby hello-world.rb

View File

@ -0,0 +1 @@
../run-ruby-in-container.sh