mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-19 14:47:12 -04:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
987ff7e540 | ||
|
f311ceeb80 | ||
|
12e8cfa41b | ||
|
7c54656362 | ||
|
6dd3c079fe |
35
Dockerfile
35
Dockerfile
@ -5,7 +5,7 @@ ARG SRCIMAGE=debian:bookworm-slim
|
|||||||
|
|
||||||
FROM $SRCIMAGE AS builder
|
FROM $SRCIMAGE AS builder
|
||||||
|
|
||||||
ARG LSMB_VERSION="1.12.5"
|
ARG LSMB_VERSION="1.12.7"
|
||||||
ARG LSMB_DL_DIR="Releases"
|
ARG LSMB_DL_DIR="Releases"
|
||||||
ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz"
|
ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz"
|
||||||
|
|
||||||
@ -51,17 +51,15 @@ LABEL org.opencontainers.image.description="LedgerSMB is a full featured double-
|
|||||||
the LedgerSMB project is to bring high quality ERP and accounting capabilities\
|
the LedgerSMB project is to bring high quality ERP and accounting capabilities\
|
||||||
to Small and Midsize Businesses."
|
to Small and Midsize Businesses."
|
||||||
|
|
||||||
ARG LSMB_VERSION="1.12.5"
|
ARG LSMB_VERSION="1.12.7"
|
||||||
ARG LSMB_DL_DIR="Releases"
|
ARG LSMB_DL_DIR="Releases"
|
||||||
ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz"
|
ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz"
|
||||||
|
|
||||||
|
|
||||||
# Install Perl, Tex, Starman, psql client, and all dependencies
|
### PACKAGE REQUIREMENTS RATIONALE
|
||||||
# Without libclass-c3-xs-perl, performance is terribly slow...
|
#
|
||||||
|
# postgresql-client(from apt.postgresql.org): reduces chances running a newer server than this client
|
||||||
# Installing psql client directly from instructions at https://wiki.postgresql.org/wiki/Apt
|
# fonts-liberation: installed for compatibility with templates from 1.8 and earlier
|
||||||
# That mitigates issues where the PG instance is running a newer version than this container
|
|
||||||
|
|
||||||
|
|
||||||
COPY --from=builder /srv/derived-deps /tmp/derived-deps
|
COPY --from=builder /srv/derived-deps /tmp/derived-deps
|
||||||
|
|
||||||
@ -80,7 +78,6 @@ RUN set -x ; \
|
|||||||
DEBIAN_FRONTEND="noninteractive" apt-get -q -y install \
|
DEBIAN_FRONTEND="noninteractive" apt-get -q -y install \
|
||||||
wget ca-certificates gnupg iproute2 \
|
wget ca-certificates gnupg iproute2 \
|
||||||
$( cat /tmp/derived-deps ) \
|
$( cat /tmp/derived-deps ) \
|
||||||
libclass-c3-xs-perl \
|
|
||||||
texlive-plain-generic texlive-latex-recommended texlive-fonts-recommended \
|
texlive-plain-generic texlive-latex-recommended texlive-fonts-recommended \
|
||||||
texlive-xetex fonts-liberation \
|
texlive-xetex fonts-liberation \
|
||||||
lsb-release postgresql-common && \
|
lsb-release postgresql-common && \
|
||||||
@ -111,18 +108,18 @@ WORKDIR /srv/ledgersmb
|
|||||||
## MAIL
|
## MAIL
|
||||||
# '__CONTAINER_GATEWAY__' is a magic value which will be substituted
|
# '__CONTAINER_GATEWAY__' is a magic value which will be substituted
|
||||||
# with the actual gateway IP address
|
# with the actual gateway IP address
|
||||||
ENV LSMB_MAIL_SMTPHOST __CONTAINER_GATEWAY__
|
ENV LSMB_MAIL_SMTPHOST=__CONTAINER_GATEWAY__
|
||||||
#ENV LSMB_MAIL_SMTPPORT 25
|
#ENV LSMB_MAIL_SMTPPORT=25
|
||||||
#ENV LSMB_MAIL_SMTPSENDER_HOSTNAME (container hostname)
|
#ENV LSMB_MAIL_SMTPSENDER_HOSTNAME=(container hostname)
|
||||||
#ENV LSMB_MAIL_SMTPTLS
|
#ENV LSMB_MAIL_SMTPTLS=
|
||||||
#ENV LSMB_MAIL_SMTPUSER
|
#ENV LSMB_MAIL_SMTPUSER=
|
||||||
#ENV LSMB_MAIL_SMTPPASS
|
#ENV LSMB_MAIL_SMTPPASS=
|
||||||
#ENV LSMB_MAIL_SMTPAUTHMECH
|
#ENV LSMB_MAIL_SMTPAUTHMECH=
|
||||||
|
|
||||||
## DATABASE
|
## DATABASE
|
||||||
ENV POSTGRES_HOST postgres
|
ENV POSTGRES_HOST=postgres
|
||||||
ENV POSTGRES_PORT 5432
|
ENV POSTGRES_PORT=5432
|
||||||
ENV DEFAULT_DB lsmb
|
ENV DEFAULT_DB=lsmb
|
||||||
|
|
||||||
COPY start.sh /usr/local/bin/start.sh
|
COPY start.sh /usr/local/bin/start.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user