Skip to content

Commit 45a4c17

Browse files
liushilongbuaamssonicbld
authored andcommitted
[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
1 parent 20c4d77 commit 45a4c17

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/docker_version_control.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
#!/bin/bash
2+
13
# This script is for reproducible build.
24
# Reproducible build for docker enabled: Before build docker image, this script will change image:tag to image:sha256 in DOCKERFILE.
35
# And record image sha256 to a target file.
4-
#!/bin/bash
56

67
IMAGENAME=$1
78
DOCKERFILE=$2

0 commit comments

Comments
 (0)