Merge "Add test-scheduler dir to verity"
[bottlenecks.git] / testing-scheduler / docker / plugin / Dockerfile
1 ##############################################################################\r
2 # Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.\r
3 #\r
4 # All rights reserved. This program and the accompanying materials\r
5 # are made available under the terms of the Apache License, Version 2.0\r
6 # which accompanies this distribution, and is available at\r
7 # http://www.apache.org/licenses/LICENSE-2.0\r
8 ##############################################################################\r
9 \r
10 FROM java\r
11 MAINTAINER x-lab/Leo\r
12 RUN useradd -m noroot -s /bin/bash\r
13 USER noroot\r
14 WORKDIR /home/noroot\r
15 ENV BUILD_DIR build_dir\r
16 ENV REPO_DIR ${BUILD_DIR}/conductor\r
17 \r
18 RUN mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} && \\r
19     git clone http://github.com/Netflix/conductor.git && \\r
20     cd conductor && git checkout v1.10.4\r
21 \r
22 RUN cd ${REPO_DIR} && ./gradlew build\r
23 \r
24 CMD tail -f /dev/null