blob: 0bd34978621ae35ae73e0669f51dc5da0bcf96aa (
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 vespa-ci-internal.sh /vespa-ci-internal.sh
|