Skip to content

Commit 6926171

Browse files
liushilongbuaamssonicbld
authored andcommitted
[build] Fix a bash script some times called by sh issue. (sonic-net#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 a262306 commit 6926171

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/docker_version_control.sh

+2-1
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)