Set the base image to Ubuntu must be first instruction - use docker search to find images
FROM ubuntu # <image>
FROM ubuntu:latest # - <image>:<tag>
FROM ubuntu:precise (LTS)
Set the maintainer info
<?php | |
namespace App\Traits; | |
use App\Meta; | |
trait HasMeta | |
{ | |
public function fromMeta($key) | |
{ | |
return optional($this->meta->where('key', $key)->first())->value; |
Set the base image to Ubuntu must be first instruction - use docker search to find images
FROM ubuntu # <image>
FROM ubuntu:latest # - <image>:<tag>
FROM ubuntu:precise (LTS)
Set the maintainer info