Rainbond/hack/contrib/docker/chaos/Dockerfile
2018-07-23 17:39:01 +08:00

21 lines
498 B
Docker

FROM goodrainapps/alpine:3.4
MAINTAINER zengqg@goodrain.com
ENV PKG_URL="http://goodrain-pkg.oss-cn-shanghai.aliyuncs.com/pkg" \
WORK_DIR=/run
RUN apk --no-cache add openssl git perl openssh-client subversion && \
curl $PKG_URL/labor_docker.tar.gz | tar -xzC /usr/bin/ && \
mkdir -p /src
COPY rainbond-chaos entrypoint.sh build.pl /run/
COPY export-app /src/export-app
COPY build-app /src/build-app
WORKDIR $WORK_DIR
ENV RELEASE_DESC=__RELEASE_DESC__
ENTRYPOINT ["/run/entrypoint.sh"]