Creates a Docker image

sp_docker_build(build_options, build_context_path)

Arguments

build_options

character: the build options. There are many; do docker build --help at a command prompt to see them. You will need at least the --tag option to give the built image a tag (name).

build_context_path

character: the build context path

Value

Result of Docker command if it succeeded. Stops with an error message if it failed.