@staticmethod<EOL><INDENT>def _generate_dockerfile(base_image, layers):<DEDENT>
dockerfile_content = "<STR_LIT>".format(base_image)<EOL>for layer in layers:<EOL><INDENT>dockerfile_content = dockerfile_content +"<STR_LIT>".format(layer.name, LambdaImage._LAYERS_DIR)<EOL><DEDENT>return dockerfile_content<EOL>
Generate the Dockerfile contents

A generated Dockerfile will look like the following:
```
FROM lambci/lambda:python3.6

ADD --chown=sbx_user1051:495 layer1 /opt
ADD --chown=sbx_user1051:495 layer2 /opt
```

Parameters
----------
base_image str
    Base Image to use for the new image
layers list(samcli.commands.local.lib.provider.Layer)
    List of Layers to be use to mount in the image

Returns
-------
str
    String representing the Dockerfile contents for the image