Create a Dockerfile object from a Dockerfile.

parse_dockerfile(path)

Arguments

path

path to the Dockerfile

Value

A Dockerfile object

Examples

parse_dockerfile(system.file("Dockerfile", package = "dockerfiler"))
#> FROM debian:jessie
#> 
#> RUN apt-get update
#> RUN apt-get install -y r-base r-base-dev
#>