Skip to content

Commit

Permalink
[build] Fix a bash script some times called by sh issue. (sonic-net#1…
Browse files Browse the repository at this point in the history
…7761)

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
  • Loading branch information
liushilongbuaa authored and mssonicbld committed Jan 18, 2024
1 parent a262306 commit 6926171
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/docker_version_control.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 6926171

Please sign in to comment.