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