forked from oracle/opengrok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
29 lines (27 loc) · 870 Bytes
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This references an OpenJDK container from the
# Docker Hub https://hub.docker.com/_/openjdk/
box: openjdk:8-jdk
# This should switch to Oracle JDK however does not work:
#box:
# id: store/oracle/serverjre
# username: $DOCKER_USERNAME
# password: $DOCKER_PASSWORD
# tag: 8
build:
steps:
- install-packages:
packages: sudo maven cvs git mercurial cssc bzr subversion monotone rcs pep8 flake8 autoconf build-essential pkg-config
- script:
name: Install Universal ctags
code: ./dev/install-universal_ctags.sh
- script:
name: Create non-root user
code: |
/usr/sbin/groupadd -g 1000 foobar
/usr/sbin/useradd -u 1000 -g 1000 -s /bin/bash -m foobar
chown -R foobar:foobar $WERCKER_ROOT
- wercker/[email protected]:
goals: install
cache_repo: true
sudo_user: foobar
version: 3.5.2