mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
fix: build distribution with podman (#1671)
# What does this PR do? Update the container build script so that it is compatible with podman. The --progress=plain is now the default option and can be overriden. ## Test Plan N/A [//]: # (## Documentation) Signed-off-by: Jeff MAURY <jmaury@redhat.com>
This commit is contained in:
parent
dfa11a1216
commit
f11b6db40d
1 changed files with 2 additions and 3 deletions
|
@ -43,7 +43,7 @@ RED='\033[0;31m'
|
|||
NC='\033[0m' # No Color
|
||||
|
||||
CONTAINER_BINARY=${CONTAINER_BINARY:-docker}
|
||||
CONTAINER_OPTS=${CONTAINER_OPTS:-}
|
||||
CONTAINER_OPTS=${CONTAINER_OPTS:---progress=plain}
|
||||
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
|
||||
|
@ -253,8 +253,7 @@ $CONTAINER_BINARY build \
|
|||
"${CLI_ARGS[@]}" \
|
||||
-t "$image_tag" \
|
||||
-f "$TEMP_DIR/Containerfile" \
|
||||
"." \
|
||||
--progress=plain
|
||||
"."
|
||||
|
||||
# clean up tmp/configs
|
||||
set +x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue