mirror of
https://github.com/termux/termux-docker.git
synced 2025-12-22 00:20:00 +00:00
fix OCI format error
This commit is contained in:
committed by
Henrik Grimler
parent
1a43803d78
commit
15a788b953
@@ -3,8 +3,9 @@
|
||||
set -e
|
||||
|
||||
OCI="docker"
|
||||
OCI_ARG=""
|
||||
case $1 in
|
||||
-p|--podman) OCI="podman" ;;
|
||||
-p|--podman) OCI="podman" ; OCI_ARG="--format docker" ;;
|
||||
esac
|
||||
|
||||
if [ -n "${TERMUX_DOCKER_USE_SUDO-}" ]; then
|
||||
@@ -26,6 +27,7 @@ esac
|
||||
|
||||
for arch in "${ARCHITECTURES[@]}"; do
|
||||
$SUDO $OCI build \
|
||||
${OCI_ARG} \
|
||||
-t 'termux/termux-docker:'"$arch" \
|
||||
-f Dockerfile \
|
||||
--build-arg BOOTSTRAP_ARCH="$arch" \
|
||||
|
||||
Reference in New Issue
Block a user