- Finished new image view
- Add the CoreOS icon font
This commit is contained in:
parent
049148cb87
commit
8042f1a985
7 changed files with 93 additions and 15 deletions
|
@ -24,8 +24,9 @@ angular.module('quay').directive('imageViewLayer', function () {
|
|||
if (command[0] != '/bin/sh' || command[1] != '-c') { return ''; }
|
||||
|
||||
var cmd = command[2];
|
||||
|
||||
if (cmd.substring(0, commandPrefix.length) != commandPrefix) { return ''; }
|
||||
if (cmd.substring(0, commandPrefix.length) != commandPrefix) {
|
||||
return 'RUN ' + cmd;
|
||||
}
|
||||
|
||||
return command[2].substr(commandPrefix.length + 1);
|
||||
};
|
||||
|
|
Reference in a new issue