# VERSION 1.0 # pull: # docker pull registry.svicloud.com/wisecloud/cas/server:v0.1 # build: # docker build -f Dockerfile_data -t registry.svicloud.com/wisecloud/cas/server:v0.1 . FROM registry.9418.club/os/svi-centos:latest MAINTAINER dongcj "dongchaojun@svi-tech.com.cn" ENV MODULE_HOME /opt/wisecloud/cas/cas_server # install the pg client(change to your logic) RUN yum -y install postgresql # change path to app home WORKDIR ${MODULE_HOME} # startup, last "tail" is necessary CMD ./start.sh && tail