Skip to content

Commit 48c458d

Browse files
author
Trong Nhan Mai
committed
chore: remove --config-path from Dockerfile
1 parent d824495 commit 48c458d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

scripts/release_scripts/run_macaron.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,6 @@ if [[ $command == "analyze" ]]; then
320320
arg_prov_file="$2"
321321
shift
322322
;;
323-
-c|--config-path)
324-
arg_config_path="$2"
325-
shift
326-
;;
327323
-g|--template-path)
328324
arg_template_path="$2"
329325
shift
@@ -414,16 +410,6 @@ if [[ -n "${arg_template_path:-}" ]]; then
414410
mount_file "-g/--template-path" "$template_path" "$template_path_in_container" "ro,Z"
415411
fi
416412

417-
# Determine the config path to be mounted into ${MACARON_WORKSPACE}/config/${file_name}
418-
if [[ -n "${arg_config_path:-}" ]]; then
419-
config_path="${arg_config_path}"
420-
file_name="$(basename "${config_path}")"
421-
config_path_in_container="${MACARON_WORKSPACE}/config/${file_name}"
422-
423-
argv_command+=("--config-path" "$config_path_in_container")
424-
mount_file "-c/--config-path" "$config_path" "$config_path_in_container" "ro,Z"
425-
fi
426-
427413
# Determine the sbom path to be mounted into ${MACARON_WORKSPACE}/sbom/${file_name}
428414
if [[ -n "${arg_sbom_path:-}" ]]; then
429415
sbom_path="${arg_sbom_path}"

0 commit comments

Comments
 (0)