Skip to content

Commit

Permalink
#221 Add --force-dockerfile option
Browse files Browse the repository at this point in the history
  • Loading branch information
singhd789 committed Dec 4, 2024
1 parent f32a3f6 commit fbce701
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fre/make/fremake.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,12 @@ def create_compile(context,yamlfile,platform,target,jobs,parallel,execute,verbos
@click.option("--execute",
is_flag = True,
help = "Build Dockerfile that has been generated by create-docker.")
@click.option("-FD",
"--force-dockerfile",
is_flag=True,
help = FORCE_DOCKERFILE_OPT_HELP)
@click.pass_context
def create_dockerfile(context,yamlfile,platform,target,execute):
def create_dockerfile(context,yamlfile,platform,target,execute,force_dockerfile):
# pylint: disable=unused-argument
""" - Write the dockerfile """
context.forward(create_docker_script._dockerfile_create)
Expand Down

0 comments on commit fbce701

Please sign in to comment.