def __init__(self, layer_downloader, skip_pull_image, force_image_build, docker_client=None):
self.layer_downloader = layer_downloader<EOL>self.skip_pull_image = skip_pull_image<EOL>self.force_image_build = force_image_build<EOL>self.docker_client = docker_client or docker.from_env()<EOL>
Parameters
----------
layer_downloader samcli.local.layers.layer_downloader.LayerDownloader
    LayerDownloader to download layers locally
skip_pull_image bool
    True if the image should not be pulled from DockerHub
force_image_build bool
    True to download the layer and rebuild the image even if it exists already on the system
docker_client docker.DockerClient
    Optional docker client object