Skip to content

Commit

Permalink
tilt: ensure Dockerfile directory for podman
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Gentil <benjamin@gentil.io>
  • Loading branch information
bengentil committed Aug 10, 2023
1 parent 3a37397 commit e00a3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def build_docker_image(image, context, binary_name, additional_docker_build_comm

# Write dockerfile_contents to a Dockerfile as custom_build doesn't support dockerfile_contents nor stdin.
# The Dockerfile is in the context path to simplify the below podman command.
local("tee %s/Dockerfile" % (shlex.quote(bin_context)), quiet = True, stdin = dockerfile_contents)
local("mkdir -p %s;tee %s/Dockerfile" % (shlex.quote(bin_context), shlex.quote(bin_context)), quiet = True, stdin = dockerfile_contents)

custom_build(
ref = image,
Expand Down

0 comments on commit e00a3d2

Please sign in to comment.