|
@@ -11,7 +11,6 @@ ENV RESIN_HOME /app/soft/resin-4.0.65
|
|
|
|
|
|
RUN yum install -y wget rsync epel-release \
|
|
RUN yum install -y wget rsync epel-release \
|
|
&& useradd book \
|
|
&& useradd book \
|
|
- && yum install -y supervisor \
|
|
|
|
&& mkdir -p /usr/java /app/soft \
|
|
&& mkdir -p /usr/java /app/soft \
|
|
&& curl -O http://10.26.22.185:9000/psop/soft/jdk1.8.0_271.tar.gz \
|
|
&& curl -O http://10.26.22.185:9000/psop/soft/jdk1.8.0_271.tar.gz \
|
|
&& curl -O http://10.26.22.185:9000/book/api-rs/resin-4.0.65-relase.tar.gz \
|
|
&& curl -O http://10.26.22.185:9000/book/api-rs/resin-4.0.65-relase.tar.gz \
|
|
@@ -24,7 +23,7 @@ RUN yum install -y wget rsync epel-release \
|
|
COPY resin.properties /app/soft/resin-4.0.65/conf/resin.properties
|
|
COPY resin.properties /app/soft/resin-4.0.65/conf/resin.properties
|
|
COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
COPY release /etc/release
|
|
COPY release /etc/release
|
|
-COPY supervisord.conf /etc/supervisord.conf
|
|
|
|
|
|
+#COPY supervisord.conf /etc/supervisord.conf
|
|
|
|
|
|
RUN export RELEASE=`head -n 1 /etc/release` \
|
|
RUN export RELEASE=`head -n 1 /etc/release` \
|
|
&& rsync -avz $RELEASE/ROOT.war /tmp/ROOT.war \
|
|
&& rsync -avz $RELEASE/ROOT.war /tmp/ROOT.war \
|
|
@@ -32,4 +31,4 @@ RUN export RELEASE=`head -n 1 /etc/release` \
|
|
|
|
|
|
#start resin
|
|
#start resin
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
-CMD ["supervisord"]
|
|
|
|
|
|
+CMD ["/app/soft/resin-4.0.65/bin/resin.sh console"]
|