mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-19 14:47:12 -04:00
Revert back to Stretch because Buster misses sSMTP
Note: we'll need to address this in due course in order to be able to release our next release on Buster (which supports more of our dependencies).
This commit is contained in:
parent
e9edcaf9ae
commit
29abd11efd
16
Dockerfile
16
Dockerfile
@ -2,8 +2,8 @@ FROM debian:stretch-slim
|
|||||||
MAINTAINER Freelock john@freelock.com
|
MAINTAINER Freelock john@freelock.com
|
||||||
|
|
||||||
# Build time variables
|
# Build time variables
|
||||||
ENV LSMB_VERSION 1.7.0-beta1
|
ARG LSMB_VERSION="1.7.0-beta1"
|
||||||
|
ARG LSMB_DL_DIR="Beta Releases"
|
||||||
|
|
||||||
# Install Perl, Tex, Starman, psql client, and all dependencies
|
# Install Perl, Tex, Starman, psql client, and all dependencies
|
||||||
# Without libclass-c3-xs-perl, performance is terribly slow...
|
# Without libclass-c3-xs-perl, performance is terribly slow...
|
||||||
@ -16,6 +16,11 @@ ENV LSMB_VERSION 1.7.0-beta1
|
|||||||
# Installing psql client directly from instructions at https://wiki.postgresql.org/wiki/Apt
|
# Installing psql client directly from instructions at https://wiki.postgresql.org/wiki/Apt
|
||||||
# That mitigates issues where the PG instance is running a newer version than this container
|
# That mitigates issues where the PG instance is running a newer version than this container
|
||||||
|
|
||||||
|
# for Buster, add:
|
||||||
|
# libhtml-escape-perl \
|
||||||
|
# libplack-middleware-builder-conditionals-perl \
|
||||||
|
# libplack-request-withencoding-perl \
|
||||||
|
#libversion-compare-perl
|
||||||
RUN echo -n "APT::Install-Recommends \"0\";\nAPT::Install-Suggests \"0\";\n" >> /etc/apt/apt.conf && \
|
RUN echo -n "APT::Install-Recommends \"0\";\nAPT::Install-Suggests \"0\";\n" >> /etc/apt/apt.conf && \
|
||||||
mkdir -p /usr/share/man/man1/ && \
|
mkdir -p /usr/share/man/man1/ && \
|
||||||
mkdir -p /usr/share/man/man2/ && \
|
mkdir -p /usr/share/man/man2/ && \
|
||||||
@ -31,7 +36,6 @@ RUN echo -n "APT::Install-Recommends \"0\";\nAPT::Install-Suggests \"0\";\n" >>
|
|||||||
libcgi-emulate-psgi-perl libconfig-inifiles-perl \
|
libcgi-emulate-psgi-perl libconfig-inifiles-perl \
|
||||||
libdbd-pg-perl libdbi-perl libdata-uuid-perl libdatetime-perl \
|
libdbd-pg-perl libdbi-perl libdata-uuid-perl libdatetime-perl \
|
||||||
libdatetime-format-strptime-perl \
|
libdatetime-format-strptime-perl \
|
||||||
libhtml-escape-perl \
|
|
||||||
libio-stringy-perl \
|
libio-stringy-perl \
|
||||||
libcpanel-json-xs-perl liblist-moreutils-perl \
|
libcpanel-json-xs-perl liblist-moreutils-perl \
|
||||||
liblocale-maketext-perl liblocale-maketext-lexicon-perl \
|
liblocale-maketext-perl liblocale-maketext-lexicon-perl \
|
||||||
@ -43,10 +47,8 @@ RUN echo -n "APT::Install-Recommends \"0\";\nAPT::Install-Suggests \"0\";\n" >>
|
|||||||
libpgobject-type-bytestring-perl libpgobject-util-dbmethod-perl \
|
libpgobject-type-bytestring-perl libpgobject-util-dbmethod-perl \
|
||||||
libpgobject-util-dbadmin-perl libplack-perl \
|
libpgobject-util-dbadmin-perl libplack-perl \
|
||||||
libplack-middleware-reverseproxy-perl \
|
libplack-middleware-reverseproxy-perl \
|
||||||
libplack-middleware-builder-conditionals-perl \
|
|
||||||
libplack-request-withencoding-perl \
|
|
||||||
libtemplate-perl libtext-csv-perl libtext-csv-xs-perl \
|
libtemplate-perl libtext-csv-perl libtext-csv-xs-perl \
|
||||||
libtext-markdown-perl libversion-compare-perl libxml-simple-perl \
|
libtext-markdown-perl libxml-simple-perl \
|
||||||
libnamespace-autoclean-perl \
|
libnamespace-autoclean-perl \
|
||||||
libfile-find-rule-perl \
|
libfile-find-rule-perl \
|
||||||
libtemplate-plugin-latex-perl libtex-encode-perl \
|
libtemplate-plugin-latex-perl libtex-encode-perl \
|
||||||
@ -63,7 +65,7 @@ RUN echo -n "APT::Install-Recommends \"0\";\nAPT::Install-Suggests \"0\";\n" >>
|
|||||||
DEBIAN_FRONTEND="noninteractive" apt-get -q -y update && \
|
DEBIAN_FRONTEND="noninteractive" apt-get -q -y update && \
|
||||||
DEBIAN_FRONTEND="noninteractive" apt-get -q -y install postgresql-client && \
|
DEBIAN_FRONTEND="noninteractive" apt-get -q -y install postgresql-client && \
|
||||||
DEBIAN_FRONTEND="noninteractive" apt-get -q -y install git cpanminus make gcc libperl-dev && \
|
DEBIAN_FRONTEND="noninteractive" apt-get -q -y install git cpanminus make gcc libperl-dev && \
|
||||||
wget --quiet -O /tmp/ledgersmb-$LSMB_VERSION.tar.gz "https://download.ledgersmb.org/f/Releases/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz" && \
|
wget --quiet -O /tmp/ledgersmb-$LSMB_VERSION.tar.gz "https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz" && \
|
||||||
tar -xzf /tmp/ledgersmb-$LSMB_VERSION.tar.gz --directory /srv && \
|
tar -xzf /tmp/ledgersmb-$LSMB_VERSION.tar.gz --directory /srv && \
|
||||||
rm -f /tmp/ledgersmb-$LSMB_VERSION.tar.gz && \
|
rm -f /tmp/ledgersmb-$LSMB_VERSION.tar.gz && \
|
||||||
cpanm --notest \
|
cpanm --notest \
|
||||||
|
Loading…
Reference in New Issue
Block a user