[FIX] 修改worker,builder,mq Dockerfile

This commit is contained in:
goodrain 2017-11-09 14:23:44 +08:00
parent 19795ee33a
commit c19bb11fe0
6 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@ RUN curl $PKG_URL/labor_docker.tar.gz | tar -xzC /usr/bin/ \
&& echo 'rain ALL = (root) NOPASSWD:/usr/bin/docker' > /etc/sudoers.d/rain \
&& curl https://bootstrap.pypa.io/get-pip.py | python -
ADD acp_builder /run/acp_builder
ADD rainbond_builder /run/rainbond_builder
ADD plugins /run/plugins
ENV REGION_TAG labor
@ -41,4 +41,4 @@ WORKDIR $WORK_DIR
USER rain
CMD ["/run/acp_builder"]
CMD ["/run/rainbond_builder"]

Binary file not shown.

View File

@ -1,9 +1,9 @@
FROM goodrainapps/alpine:3.4
COPY acp_mq /run/acp_mq
RUN chmod 655 /run/acp_mq
COPY rainbond_mq /run/rainbond_mq
RUN chmod 655 /run/rainbond_mq
EXPOSE 6300
ENV RELEASE_DESC=__RELEASE_DESC__
CMD ["/run/acp_mq"]
CMD ["/run/rainbond_mq"]

Binary file not shown.

View File

@ -1,10 +1,10 @@
FROM goodrainapps/alpine:3.4
COPY acp_worker /run/acp_worker
RUN chmod 655 /run/acp_worker
COPY rainbond_worker /run/rainbond_worker
RUN chmod 655 /run/rainbond_worker
ENV EX_DOMAIN=ali-sh.goodrain.net:10080
ENV CUR_NET=midonet
ENV RELEASE_DESC=__RELEASE_DESC__
CMD ["/run/acp_worker"]
CMD ["/run/rainbond_worker"]

Binary file not shown.