mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-19 06:37:11 -04:00
Switch Master branch to use perl:5 base image, and load necessary modules using cpanm
This commit is contained in:
parent
07db28af99
commit
e20f3a1899
20
Dockerfile
20
Dockerfile
@ -1,4 +1,4 @@
|
||||
FROM debian:jessie
|
||||
FROM perl:5
|
||||
MAINTAINER Freelock john@freelock.com
|
||||
|
||||
# Build time variables
|
||||
@ -62,6 +62,24 @@ RUN chown www-data /etc/ssmtp /etc/ssmtp/ssmtp.conf && \
|
||||
chmod +x /usr/bin/update_ssmtp.sh /usr/bin/start.sh && \
|
||||
mkdir -p /var/www
|
||||
|
||||
# 1.5 requirements
|
||||
RUN apt-get install -y \
|
||||
libpgobject-perl \
|
||||
libpgobject-simple-perl \
|
||||
libpgobject-simple-role-perl \
|
||||
libpgobject-util-dbmethod-perl
|
||||
RUN cpanm \
|
||||
Carton PGObject::Type::BigFloat \
|
||||
PGObject::Composite \
|
||||
PGObject::Type::JSON \
|
||||
PGObject::Type::Composite \
|
||||
PGObject::Type::DateTime \
|
||||
App::LedgerSMB::Admin
|
||||
|
||||
# Not sure why this is not set correctly, and also why
|
||||
# it gets overridden here -- moved to start.sh.
|
||||
# ENV PERL5LIB /usr/local/lib/perl5/site_perl/5.22.0
|
||||
|
||||
# Internal Port Expose
|
||||
EXPOSE 5000
|
||||
#USER www-data
|
||||
|
Loading…
Reference in New Issue
Block a user