diff options
Diffstat (limited to 'docker/ci/Dockerfile')
-rw-r--r-- | docker/ci/Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docker/ci/Dockerfile b/docker/ci/Dockerfile new file mode 100644 index 00000000000..fc2e3ffe666 --- /dev/null +++ b/docker/ci/Dockerfile @@ -0,0 +1,15 @@ +# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +FROM vespabuild + +COPY tmp/vespa.spec /vespa.spec +RUN yum-builddep -y /vespa.spec + +# Build using non-root user 'vespabuilder' +RUN useradd --create-home -s /bin/bash vespabuilder +WORKDIR /home/vespabuilder +USER vespabuilder + +# Java requires proper locale for unicode +ENV LANG en_US.UTF-8 + +COPY ci/vespa-ci-internal.sh /vespa-ci-internal.sh |