plugin facturation : zip au lieu du tar.gz
This commit is contained in:
parent
658bcd0986
commit
d439fc1fcb
@ -1,6 +1,5 @@
|
||||
FROM paheko/paheko:1.3.12
|
||||
|
||||
#ENV PAHEKO_DIR /usr/share/paheko
|
||||
ENV PAHEKO_DIR /var/www/paheko
|
||||
|
||||
COPY dockers/paheko/config/factory_cron.sh ${PAHEKO_DIR}/
|
||||
@ -8,15 +7,22 @@ COPY dockers/paheko/config/factory_cron_emails.sh ${PAHEKO_DIR}/
|
||||
COPY dockers/paheko/config/setupWebRights.sh ${PAHEKO_DIR}/
|
||||
RUN mkdir ${PAHEKO_DIR}/users
|
||||
|
||||
#Plugin facturation (le seul qui ne fasse pas parti de la distribution de base
|
||||
COPY "dockers/paheko/config/facturation.tar.gz" ${PAHEKO_DIR}/data/plugins/
|
||||
RUN mkdir ${PAHEKO_DIR}/data/plugins/facturation && tar zxvf ${PAHEKO_DIR}/data/plugins/facturation.tar.gz -C ${PAHEKO_DIR}/data/plugins/facturation && rm ${PAHEKO_DIR}/data/plugins/facturation.tar.gz
|
||||
|
||||
#pour corriger le bug "export excel"
|
||||
RUN docker-php-ext-install calendar
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
#Plugin facturation (le seul qui ne fasse pas parti de la distribution de base
|
||||
RUN apt-get install unzip
|
||||
COPY "dockers/paheko/config/facturation.zip" ${PAHEKO_DIR}/data/plugins/
|
||||
WORKDIR ${PAHEKO_DIR}/data/plugins/
|
||||
RUN unzip ${PAHEKO_DIR}/data/plugins/facturation.zip
|
||||
WORKDIR /
|
||||
|
||||
#RUN mkdir ${PAHEKO_DIR}/data/plugins/facturation && tar zxvf ${PAHEKO_DIR}/data/plugins/facturation.tar.gz -C ${PAHEKO_DIR}/data/plugins/facturation && rm ${PAHEKO_DIR}/data/plugins/facturation.tar.gz
|
||||
|
||||
#install cron pour factory_cron.sh
|
||||
RUN apt-get update && apt-get install cron joe rsyslog -y
|
||||
RUN apt-get install cron joe rsyslog -y
|
||||
RUN sed -i '/imklog/s/^/#/' /etc/rsyslog.conf
|
||||
RUN echo "0 1 * * * cd ${PAHEKO_DIR} && ${PAHEKO_DIR}/factory_cron.sh 1> /dev/null 2> /dev/null" >> /var/spool/cron/crontabs/root
|
||||
RUN echo "* * * * * cd ${PAHEKO_DIR} && ${PAHEKO_DIR}/factory_cron_emails.sh 1> /dev/null 2> /dev/null" >> /var/spool/cron/crontabs/root
|
||||
|
Loading…
x
Reference in New Issue
Block a user