mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-14 16:20:29 -04:00
Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
2add82e070 | ||
|
beab963859 | ||
|
6772ccbe4d | ||
|
b7ac6ef4cb | ||
|
ddd44782c7 | ||
|
4448e9b270 | ||
|
3b3613dd13 | ||
|
9a789a8032 |
19
Dockerfile
19
Dockerfile
@@ -1,9 +1,6 @@
|
|||||||
FROM perl:5
|
FROM perl:5
|
||||||
MAINTAINER Freelock john@freelock.com
|
MAINTAINER Freelock john@freelock.com
|
||||||
|
|
||||||
# Build time variables
|
|
||||||
ENV LSMB_VERSION 1.4.24
|
|
||||||
|
|
||||||
|
|
||||||
# Install Perl, Tex, Starman, psql client, and all dependencies
|
# Install Perl, Tex, Starman, psql client, and all dependencies
|
||||||
RUN DEBIAN_FRONTENT=noninteractive && \
|
RUN DEBIAN_FRONTENT=noninteractive && \
|
||||||
@@ -19,7 +16,8 @@ RUN DEBIAN_FRONTENT=noninteractive && \
|
|||||||
libconfig-inifiles-perl libnamespace-autoclean-perl \
|
libconfig-inifiles-perl libnamespace-autoclean-perl \
|
||||||
libcarp-always-perl libjson-perl \
|
libcarp-always-perl libjson-perl \
|
||||||
libtemplate-plugin-latex-perl texlive-latex-recommended \
|
libtemplate-plugin-latex-perl texlive-latex-recommended \
|
||||||
texlive-latex-base texlive-latex-extra texlive-latex-recommends \
|
texlive-latex-base texlive-latex-extra \
|
||||||
|
texlive-xetex \
|
||||||
libxml-twig-perl \
|
libxml-twig-perl \
|
||||||
libtex-encode-perl \
|
libtex-encode-perl \
|
||||||
libdevel-trace-perl \
|
libdevel-trace-perl \
|
||||||
@@ -27,14 +25,23 @@ RUN DEBIAN_FRONTENT=noninteractive && \
|
|||||||
postgresql-client-9.4 \
|
postgresql-client-9.4 \
|
||||||
ssmtp
|
ssmtp
|
||||||
|
|
||||||
|
# Build time variables
|
||||||
|
ENV LSMB_VERSION 1.4.29
|
||||||
|
|
||||||
# Install LedgerSMB
|
# Install LedgerSMB
|
||||||
|
|
||||||
RUN cd /srv && \
|
RUN cd /srv && \
|
||||||
git clone https://github.com/ledgersmb/LedgerSMB.git ledgersmb
|
git clone -b $LSMB_VERSION https://github.com/ledgersmb/LedgerSMB.git ledgersmb
|
||||||
|
|
||||||
WORKDIR /srv/ledgersmb
|
WORKDIR /srv/ledgersmb
|
||||||
|
|
||||||
RUN git checkout $LSMB_VERSION
|
|
||||||
|
# 1.4.29+ requirements
|
||||||
|
RUN cpanm --quiet --notest \
|
||||||
|
--with-feature=starman \
|
||||||
|
--with-feature=latex-pdf-ps \
|
||||||
|
--with-feature=openoffice \
|
||||||
|
--installdeps .
|
||||||
|
|
||||||
#RUN sed -i \
|
#RUN sed -i \
|
||||||
# -e "s/short_open_tag = Off/short_open_tag = On/g" \
|
# -e "s/short_open_tag = Off/short_open_tag = On/g" \
|
||||||
|
Reference in New Issue
Block a user