mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-04 12:27:23 -04:00
Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f08e254d82 | ||
|
be91e20c09 | ||
|
5a862e621c | ||
|
1ea20c0614 | ||
|
4d3813a9f9 | ||
|
547cebeabd | ||
|
d303523fea | ||
|
08e5b7ede2 | ||
|
bd66dcb4d3 | ||
|
0ff7a0671d | ||
|
188a9ae259 | ||
|
553ead9a18 | ||
|
d63ca10ba4 | ||
|
196581f2ad | ||
|
304a253634 | ||
|
55582d08a1 |
29
Dockerfile
29
Dockerfile
@ -5,7 +5,7 @@ ARG SRCIMAGE=debian:bookworm-slim
|
|||||||
|
|
||||||
FROM $SRCIMAGE AS builder
|
FROM $SRCIMAGE AS builder
|
||||||
|
|
||||||
ARG LSMB_VERSION="1.11.17"
|
ARG LSMB_VERSION="1.11.28"
|
||||||
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,7 +51,7 @@ 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.11.17"
|
ARG LSMB_VERSION="1.11.28"
|
||||||
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"
|
||||||
|
|
||||||
@ -83,9 +83,8 @@ RUN set -x ; \
|
|||||||
libclass-c3-xs-perl \
|
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 && \
|
lsb-release postgresql-common && \
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/postgresql.asc] http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
|
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y && \
|
||||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc > /etc/apt/keyrings/postgresql.asc && \
|
|
||||||
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 && \
|
||||||
@ -112,18 +111,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
|
||||||
|
|
||||||
|
@ -16,8 +16,9 @@ Dockerfile for LedgerSMB Docker image
|
|||||||
|
|
||||||
# Supported tags
|
# Supported tags
|
||||||
|
|
||||||
- `1.11`, `1.11.x`, `latest` - Latest official release from the 1.11 branch
|
- `1.12`, `1.12.x`, `latest` - Latest official release from the 1.12 branch
|
||||||
- `1.10`, `1.10.x` - Latest official release from the 1.10 branch
|
- `1.11`, `1.11.x` - Latest official release from the 1.11 branch
|
||||||
|
- `1.10`, `1.10.38` - Last official release from the 1.10 branch (End-of-Life)
|
||||||
- `1.9`, `1.9.30` - Last official release from the 1.9 branch (End-of-Life)
|
- `1.9`, `1.9.30` - Last official release from the 1.9 branch (End-of-Life)
|
||||||
- `1.8`, `1.8.31` - Last official release from the 1.8 branch (End-of-Life)
|
- `1.8`, `1.8.31` - Last official release from the 1.8 branch (End-of-Life)
|
||||||
- `1.7`, `1.7.41` - Last official release from the 1.7 branch (End-of-Life)
|
- `1.7`, `1.7.41` - Last official release from the 1.7 branch (End-of-Life)
|
||||||
@ -62,6 +63,9 @@ could require additional setup of a mail service or CUPS printer service.
|
|||||||
This image can be installed either automatically with the Docker compose file
|
This image can be installed either automatically with the Docker compose file
|
||||||
or manually with docker only.
|
or manually with docker only.
|
||||||
|
|
||||||
|
❌ Do not use unofficial or AI-generated Docker Compose examples. These are
|
||||||
|
often incomplete, break silently, or skip required services.
|
||||||
|
|
||||||
## Docker-Compose: Installation and start
|
## Docker-Compose: Installation and start
|
||||||
|
|
||||||
This repository provides a file named `docker-compose.yml` which can be used to
|
This repository provides a file named `docker-compose.yml` which can be used to
|
||||||
|
13
build
Executable file
13
build
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -euxo pipefail
|
||||||
|
|
||||||
|
${DOCKER:-docker} buildx build \
|
||||||
|
--progress plain \
|
||||||
|
--platform ${PLATFORM:-linux/amd64,linux/arm64,linux/arm/v7} \
|
||||||
|
--build-arg "ARTIFACT_LOCATION=$ARTIFACT_LOCATION" \
|
||||||
|
-t ledgersmb/ledgersmb:$BRANCH \
|
||||||
|
-t ledgersmb/ledgersmb:$VERSION \
|
||||||
|
-t ghcr.io/ledgersmb/ledgersmb:$BRANCH \
|
||||||
|
-t ghcr.io/ledgersmb/ledgersmb:$VERSION \
|
||||||
|
--push .
|
Loading…
Reference in New Issue
Block a user