Better handling of defcon1
This commit is contained in:
parent
821b09daaf
commit
a941b26a2d
7 changed files with 21 additions and 7 deletions
|
@ -47,7 +47,7 @@ angular.module('quay').factory('ImageMetadataService', ['UtilService', function(
|
|||
|
||||
metadataService.getDockerfileCommand = function(command) {
|
||||
if (!command) { return ''; }
|
||||
command = command.join(' ').split(' ')
|
||||
command = command.join(' ').split(' ');
|
||||
|
||||
// ["/bin/sh", "-c", "#(nop)", "RUN", "foo"]
|
||||
if (command[0] != '/bin/sh' || command[1] != '-c') { return ''; }
|
||||
|
|
Reference in a new issue