|
@@ -11,7 +11,7 @@ COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
|
|
|
|
#install jdk8 & resin4 & flume
|
|
#install jdk8 & resin4 & flume
|
|
|
|
|
|
-RUN yum install -y wget rsync epel-release lsof crontabs rsyslog \
|
|
|
|
|
|
+RUN yum install -y wget rsync epel-release lsof crontabs vim \
|
|
&& useradd book \
|
|
&& useradd book \
|
|
&& yum install -y supervisor \
|
|
&& yum install -y supervisor \
|
|
&& mkdir -p /usr/java /app/soft /cron/root \
|
|
&& mkdir -p /usr/java /app/soft /cron/root \
|
|
@@ -24,8 +24,7 @@ RUN yum install -y wget rsync epel-release lsof crontabs rsyslog \
|
|
&& chmod +x /usr/bin/entrypoint.sh
|
|
&& chmod +x /usr/bin/entrypoint.sh
|
|
|
|
|
|
#COPY resin.xml /app/soft/resin-4.0.65/conf/resin.xml
|
|
#COPY resin.xml /app/soft/resin-4.0.65/conf/resin.xml
|
|
-COPY resin.properties /app/soft/resin-4.0.65/conf/resin.properties
|
|
|
|
-COPY release /etc/release
|
|
|
|
|
|
+COPY resin.properties /app/soft/resin-4.0.65/conf/resin.properties
|
|
COPY root /var/spool/cron/root
|
|
COPY root /var/spool/cron/root
|
|
COPY log_clear.sh /cron/root/log_clear.sh
|
|
COPY log_clear.sh /cron/root/log_clear.sh
|
|
COPY resin.ini /etc/supervisord.d/resin.ini
|
|
COPY resin.ini /etc/supervisord.d/resin.ini
|