Skip to content

Commit a56b8dd

Browse files
authored
Add printenv to docker image diff script. (#1290)
Useful to see if any environment variables have changed between two docker images.
1 parent c195472 commit a56b8dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ if [[ -n "$PACKAGE_NAME" ]]; then
9898
echo "Package: $PACKAGE_NAME"
9999
CMDS=("python /tools/pip_list_versions.py $PACKAGE_NAME | sort")
100100
else
101-
CMDS=("pip list --format=freeze" 'cat /etc/os-release | grep -oP "PRETTY_NAME=\"\K([^\"]*)"' "uname -r" "dpkg --list | awk '{print \$2\"==\"\$3}'")
101+
CMDS=("pip list --format=freeze" 'cat /etc/os-release | grep -oP "PRETTY_NAME=\"\K([^\"]*)"' "uname -r" "dpkg --list | awk '{print \$2\"==\"\$3}'" "printenv | sort")
102102
fi
103103

104104
for cmd in "${CMDS[@]}"; do

0 commit comments

Comments
 (0)