mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 03:37:46 +08:00
[FIX] 修改worker,builder,mq Dockerfile
This commit is contained in:
parent
19795ee33a
commit
c19bb11fe0
@ -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.
@ -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"]
|
||||
|
BIN
build/mq/acp_mq
BIN
build/mq/acp_mq
Binary file not shown.
@ -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.
Loading…
Reference in New Issue
Block a user