aboutsummaryrefslogtreecommitdiffstats
path: root/docker/ci/Dockerfile
blob: fc2e3ffe6665fb45f11e08f769265cb422348978 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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