Skip to content

Commit 943d7bc

Browse files
committed
fix: Actually use --target-containerfile argument
1 parent c540829 commit 943d7bc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rust/boil/src/build/bakefile.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,9 @@ impl Bakefile {
324324
args.strip_architecture,
325325
);
326326

327-
let dockerfile = PathBuf::new().join(&image_name).join("Dockerfile");
327+
let dockerfile = PathBuf::new()
328+
.join(&image_name)
329+
.join(&args.target_containerfile);
328330

329331
let target_name = if is_entry {
330332
Self::format_entry_target_name(&image_name, &image_version)
@@ -525,7 +527,6 @@ impl BakefileTarget {
525527
}
526528

527529
fn image_version_annotation(image_version: &str, sdp_image_version: &Version) -> Vec<String> {
528-
// Annotations describe OCI image components.
529530
vec![
530531
// TODO (@Techassi): Move this version formatting into a function
531532
// TODO (@Techassi): Make this vendor agnostic, don't hard-code stackable here

0 commit comments

Comments
 (0)