Sha256: 5eab5c8d61f76d8619d1f12499bca2729f67d843d8987076a04d4e66481391aa
Contents?: true
Size: 234 Bytes
Versions: 1
Compression:
Stored size: 234 Bytes
Contents
#!/usr/bin/env ruby def rocket_dir ENV.fetch('ROCKET_DIR', '/var/lib/rkt') end fail "#{rocket_dir} does not exist" unless File.exists? rocket_dir exec "docker run -v #{rocket_dir}:/var/lib/rkt -t rocker-docket #{ARGV.join(' ')}"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rocker-docket-0.0.2 | bin/rkt |