Docker: Update and improve scripts for installing CPU/GPU support #1337

This commit is contained in:
Michael Mayer
2022-02-25 16:33:46 +01:00
parent 00739770d7
commit 427d2132aa
36 changed files with 260 additions and 138 deletions

View File

@@ -6,7 +6,7 @@ set -e
export DOCKER_BUILDKIT=1
if [[ -z $1 ]] || [[ -z $2 ]]; then
echo "Usage: scripts/docker/build.sh [name] [tag] [/subimage]" 1>&2
echo "Usage: ${0##*/} [name] [tag] [/subimage]" 1>&2
exit 1
fi

View File

@@ -4,7 +4,7 @@
export DOCKER_BUILDKIT=1
if [[ -z $1 ]] || [[ -z $2 ]]; then
echo "Usage: scripts/docker/buildx-multi.sh [name] [linux/amd64|linux/arm64|linux/arm] [tag] [/subimage]" 1>&2
echo "Usage: ${0##*/} [name] [linux/amd64|linux/arm64|linux/arm] [tag] [/subimage]" 1>&2
exit 1
fi

View File

@@ -4,7 +4,7 @@
export DOCKER_BUILDKIT=1
if [[ -z $1 ]] || [[ -z $2 ]]; then
echo "Usage: scripts/docker/buildx.sh [name] linux/[amd64|arm64|arm] [tag] [/subimage]" 1>&2
echo "Usage: ${0##*/} [name] linux/[amd64|arm64|arm] [tag] [/subimage]" 1>&2
exit 1
fi