summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
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