mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-19 06:37:11 -04:00
1.5 Dockerfile to install from tarball
This commit is contained in:
parent
f070b9d6a6
commit
48f1e0d7bb
44
Dockerfile
44
Dockerfile
@ -4,36 +4,31 @@ MAINTAINER Freelock john@freelock.com
|
|||||||
# 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 && \
|
||||||
apt-get update && apt-get -y install \
|
apt-get update && apt-get -y install \
|
||||||
git \
|
libcgi-emulate-psgi-perl libcgi-simple-perl libconfig-inifiles-perl \
|
||||||
libdatetime-perl libdbi-perl libdbd-pg-perl \
|
libdbd-pg-perl libdbi-perl libdatetime-perl \
|
||||||
libcgi-simple-perl libtemplate-perl libmime-lite-perl \
|
libdatetime-format-strptime-perl libdigest-md5-perl \
|
||||||
liblocale-maketext-lexicon-perl libtest-exception-perl \
|
libfile-mimeinfo-perl libjson-xs-perl libjson-perl \
|
||||||
libtest-trap-perl liblog-log4perl-perl libmath-bigint-gmp-perl \
|
liblocale-maketext-perl liblocale-maketext-lexicon-perl \
|
||||||
libfile-mimeinfo-perl libtemplate-plugin-number-format-perl \
|
liblog-log4perl-perl libmime-base64-perl libmime-lite-perl \
|
||||||
libdatetime-format-strptime-perl libconfig-general-perl \
|
libmath-bigint-gmp-perl libmoose-perl libnumber-format-perl \
|
||||||
libdatetime-format-strptime-perl libio-stringy-perl libmoose-perl \
|
libpgobject-perl libpgobject-simple-perl libpgobject-simple-role-perl \
|
||||||
libconfig-inifiles-perl libnamespace-autoclean-perl \
|
libpgobject-util-dbmethod-perl libplack-perl libtemplate-perl \
|
||||||
libcarp-always-perl libjson-perl \
|
libnamespace-autoclean-perl \
|
||||||
libtemplate-plugin-latex-perl texlive-latex-recommended \
|
libtemplate-plugin-latex-perl libtex-encode-perl \
|
||||||
libnet-tclink-perl \
|
texlive-latex-recommended \
|
||||||
libxml-twig-perl \
|
texlive-xetex \
|
||||||
starman \
|
starman \
|
||||||
postgresql-client-9.4 \
|
libopenoffice-oodoc-perl \
|
||||||
|
postgresql-client \
|
||||||
ssmtp
|
ssmtp
|
||||||
|
|
||||||
# Nodejs for doing Dojo build
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
|
|
||||||
apt-get install -y nodejs
|
|
||||||
|
|
||||||
# Java is required for closure compiler in Dojo build
|
|
||||||
RUN DEBIAN_FRONTENT=noninteractive && apt-get install -y openjdk-7-jre
|
|
||||||
|
|
||||||
# Build time variables
|
# Build time variables
|
||||||
ENV LSMB_VERSION 1.5.0-beta-5
|
ENV LSMB_VERSION 1.5.0-beta6
|
||||||
|
|
||||||
# Install LedgerSMB
|
# Install LedgerSMB
|
||||||
RUN cd /srv && \
|
RUN cd /srv && \
|
||||||
git clone --recursive -b master https://github.com/ledgersmb/LedgerSMB.git ledgersmb
|
curl -Lo ledgersmb-$LSMB_VERSION.tar.gz https://sourceforge.net/projects/ledger-smb/files/Releases/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz/download && \
|
||||||
|
tar -xvzf ledgersmb-$LSMB_VERSION.tar.gz
|
||||||
|
|
||||||
WORKDIR /srv/ledgersmb
|
WORKDIR /srv/ledgersmb
|
||||||
|
|
||||||
@ -44,9 +39,6 @@ RUN cpanm --quiet --notest \
|
|||||||
--with-feature=openoffice \
|
--with-feature=openoffice \
|
||||||
--installdeps .
|
--installdeps .
|
||||||
|
|
||||||
# Build dojo
|
|
||||||
RUN make dojo
|
|
||||||
|
|
||||||
# Configure outgoing mail to use host, other run time variable defaults
|
# Configure outgoing mail to use host, other run time variable defaults
|
||||||
|
|
||||||
## sSMTP
|
## sSMTP
|
||||||
|
Loading…
Reference in New Issue
Block a user