• David Johnson's avatar
    When user supplies external Docker image or Dockerfile, validate them. · fdcd1b4d
    David Johnson authored
    We try to emulate the standard Docker CLI's image handling.  Thus, if
    user specifies an image like 'ubuntu', we turn that into
    'ubuntu:latest'.  If user does not supply a registry host, we try
    'registry.hub.docker.com'.  If they do not specify a registry host or
    specify a registry host that is either registry-1.docker.io or
    registry.hub.docker.com, and their image does not contain a /, we
    prepend 'library/' to it (I *think* this is the right heuristic, but
    it's inference).
    
    For Dockerfiles, we must be able to download it, and it must contain a
    line matching ^\s*FROM (i.e. a valid FROM instruction, which all
    Dockerfiles must have).  We try to support DOS-mode textfiles too, but
    only ASCII.
    
    Might need to loosen these checks.
    fdcd1b4d
Name
Last commit
Last update
..
GNUmakefile.in Loading commit data...
GeniAM.pm.in Loading commit data...
GeniAggregate.pm.in Loading commit data...
GeniAuthority.pm.in Loading commit data...
GeniCH.pm.in Loading commit data...
GeniCM.pm.in Loading commit data...
GeniCMV2.pm.in Loading commit data...
GeniCertificate.pm.in Loading commit data...
GeniCluster.pm.in Loading commit data...
GeniComponent.pm.in Loading commit data...
GeniCredential.pm.in Loading commit data...
GeniDB.pm.in Loading commit data...
GeniEmulab.pm.in Loading commit data...
GeniEmulabUtil.pm.in Loading commit data...
GeniEvent.pm.in Loading commit data...
GeniHRN.pm.in Loading commit data...
GeniIMS.pm.in Loading commit data...
GeniImage.pm.in Loading commit data...
GeniMA.pm.in Loading commit data...
GeniPortal.pm.in Loading commit data...
GeniRegistry.pm.in Loading commit data...
GeniResource.pm.in Loading commit data...
GeniSA.pm.in Loading commit data...
GeniSES.pm.in Loading commit data...
GeniSR.pm.in Loading commit data...
GeniSlice.pm.in Loading commit data...
GeniSliver.pm.in Loading commit data...
GeniStd.pm.in Loading commit data...
GeniStdSA.pm.in Loading commit data...
GeniStitch.pm.in Loading commit data...
GeniTicket.pm.in Loading commit data...
GeniUsage.pm.in Loading commit data...
GeniUser.pm.in Loading commit data...
GeniUtil.pm.in Loading commit data...
GeniXML.pm.in Loading commit data...
genischemacheck.pl.in Loading commit data...
plabnodewrapper.in Loading commit data...
plabslicewrapper.in Loading commit data...