[build] Fix a bash script some times called by sh issue. (#17761)
Why I did it Fix a bug that sometimes the script runs in sh not bash. Work item tracking Microsoft ADO (number only): 26297955 How I did it
This commit is contained in:
parent
b84e3f9e8a
commit
015ce751a4
@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This script is for reproducible build.
|
||||
# Reproducible build for docker enabled: Before build docker image, this script will change image:tag to image:sha256 in DOCKERFILE.
|
||||
# And record image sha256 to a target file.
|
||||
#!/bin/bash
|
||||
|
||||
IMAGENAME=$1
|
||||
DOCKERFILE=$2
|
||||
|
Loading…
Reference in New Issue
Block a user