aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@verizonmedia.com>2019-03-11 17:39:27 +0100
committerHåkon Hallingstad <hakon@verizonmedia.com>2019-03-11 17:39:27 +0100
commit3a8cb1d2262767d75f4a20e7e342b1ab40971bd0 (patch)
tree9b72e50531459686426b67dc51aabfd674f5ec18 /docker
parent0af7e58f92c588c85ef1a5b73760c51294f632d7 (diff)
Fix number of arguments
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/build-vespa.sh5
-rwxr-xr-xdocker/build/build-vespa-internal.sh2
2 files changed, 2 insertions, 5 deletions
diff --git a/docker/build-vespa.sh b/docker/build-vespa.sh
index 844c8a99e55..24efe3416bc 100755
--- a/docker/build-vespa.sh
+++ b/docker/build-vespa.sh
@@ -17,7 +17,4 @@ docker pull ${DOCKER_IMAGE}
# The RPMs will be put in the same directory as this script (/vespa/docker
# within the container)
-docker run -w /vespa --rm -v $(pwd)/..:/vespa \
- --entrypoint /vespa/docker/build/build-vespa-internal.sh \
- "$DOCKER_IMAGE" \
- "$VESPA_VERSION" "$(id -u)" "$(id -g)"
+docker run -w /vespa --rm -v $(pwd)/..:/vespa --entrypoint /vespa/docker/build/build-vespa-internal.sh "$DOCKER_IMAGE" "$VESPA_VERSION" "$(id -u)" "$(id -g)"
diff --git a/docker/build/build-vespa-internal.sh b/docker/build/build-vespa-internal.sh
index 45301aa9347..af86b5aa8ad 100755
--- a/docker/build/build-vespa-internal.sh
+++ b/docker/build/build-vespa-internal.sh
@@ -2,7 +2,7 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
set -e
-if [ $# -ne 5 ]; then
+if [ $# -ne 3 ]; then
echo "Usage: $0 <vespa version> <caller uid> <caller gid>"
echo "This script should not be called manually."
exit 1