forked from oracle/opengrok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
32 lines (30 loc) · 986 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
30
31
32
# 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 autoconf python3 python3-venv python3-pip 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
- script:
name: Install Python packages
code: ./dev/install-python-packages.sh
- wercker/maven@1.3.8:
goals: install
cache_repo: true
sudo_user: foobar
version: 3.5.2