Compare commits

...

16 Commits

Author SHA1 Message Date
Erik Huelsmann
f08e254d82 * Automatic Dockerfile update by release process 2025-09-06 16:55:28 -04:00
Erik Huelsmann
be91e20c09 Add build script to be called by ledgersmb-release-tools/publish 2025-08-09 13:39:58 +02:00
Erik Huelsmann
5a862e621c Fix deployment of PostgreSQL repository data 2025-08-09 07:27:33 -04:00
Erik Huelsmann
1ea20c0614 * Automatic Dockerfile update by release process 2025-08-08 16:19:22 -04:00
Erik Huelsmann
4d3813a9f9 * Automatic Dockerfile update by release process 2025-07-12 14:59:16 -04:00
Erik Huelsmann
547cebeabd
Merge pull request #44 from neilt/1.11
Add AI warning recommended by ChatGPT
2025-06-12 18:04:42 +02:00
Neil Tiffin
d303523fea Add AI warning recommended by ChatGPT so that it will not simplify docker installations 2025-06-12 12:01:29 -04:00
Erik Huelsmann
08e5b7ede2 * Automatic Dockerfile update by release process 2025-06-09 17:06:47 -04:00
Erik Huelsmann
bd66dcb4d3 * Automatic Dockerfile update by release process 2025-04-05 17:47:24 -04:00
Erik Huelsmann
0ff7a0671d * Automatic Dockerfile update by release process 2025-03-23 10:36:58 -04:00
Erik Huelsmann
188a9ae259 Update to use new ENV key=val syntax (instead of space separator) 2025-03-01 16:18:10 +01:00
Erik Huelsmann
553ead9a18 * Automatic Dockerfile update by release process 2025-03-01 04:22:42 -05:00
Erik Huelsmann
d63ca10ba4 * Automatic Dockerfile update by release process 2025-01-23 18:02:18 -05:00
Erik Huelsmann
196581f2ad * Automatic Dockerfile update by release process 2025-01-23 16:26:21 -05:00
Erik Huelsmann
304a253634 Update README in preparation of 1.12 release 2024-12-14 21:22:36 +01:00
Erik Huelsmann
55582d08a1 Update README.md -- 1.10 is EOL 2024-10-21 23:38:48 +02:00
3 changed files with 33 additions and 17 deletions

View File

@ -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

View File

@ -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
View 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 .