mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-14 00:00:29 -04:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
2629d4052f | ||
|
c022a84d14 | ||
|
2add82e070 | ||
|
beab963859 |
16
Dockerfile
16
Dockerfile
@@ -1,9 +1,6 @@
|
||||
FROM perl:5
|
||||
MAINTAINER Freelock john@freelock.com
|
||||
|
||||
# Build time variables
|
||||
ENV LSMB_VERSION 1.4.28
|
||||
|
||||
|
||||
# Install Perl, Tex, Starman, psql client, and all dependencies
|
||||
RUN DEBIAN_FRONTENT=noninteractive && \
|
||||
@@ -28,14 +25,23 @@ RUN DEBIAN_FRONTENT=noninteractive && \
|
||||
postgresql-client-9.4 \
|
||||
ssmtp
|
||||
|
||||
# Build time variables
|
||||
ENV LSMB_VERSION 1.4.31
|
||||
|
||||
# Install LedgerSMB
|
||||
|
||||
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
|
||||
|
||||
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 \
|
||||
# -e "s/short_open_tag = Off/short_open_tag = On/g" \
|
||||
|
Reference in New Issue
Block a user