Skip to content

Commit

Permalink
enable docker cli experimental features
Browse files Browse the repository at this point in the history
Signed-off-by: Jianguo Ma <jiangma@microsoft.com>
  • Loading branch information
majguo committed Jul 16, 2024
1 parent 6e4ebc9 commit 7a56cc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scripts/preflight.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ if [[ "${DEPLOY_APPLICATION,,}" == "true" ]]; then
# Install docker-cli to inspect the image
apk update
apk add docker-cli
export DOCKER_CLI_EXPERIMENTAL=enabled
docker manifest inspect $SOURCE_IMAGE_PATH > inspect_output.txt 2>&1
if [ $? -ne 0 ]; then
echo_stderr "Failed to inspect image $SOURCE_IMAGE_PATH." $(cat inspect_output.txt)
Expand Down

0 comments on commit 7a56cc7

Please sign in to comment.