Sha256: f9b23a13b743243add5449228378423a7984bdb218e4e28ae5659a76bac5feed
Contents?: true
Size: 360 Bytes
Versions: 24
Compression:
Stored size: 360 Bytes
Contents
#!/usr/bin/perl -w use File::Spec; my @args = (); foreach my $arg (@ARGV) { if ($arg =~ /^-/) { push @args, $arg; } else { my $path = File::Spec->rel2abs($arg); push @args, $path; } } my $img = "mooreryan/iroki"; my $cmd = "docker run -v \"\$HOME:\$HOME\" $img @args"; print "\nRUNNING COMMAND: $cmd\n"; exec("$cmd");
Version data entries
24 entries across 24 versions & 1 rubygems