Compare commits

..

2 Commits

Author SHA1 Message Date
Erik Huelsmann
71f0173c84 Build on top of *-base images; correctly process dpkg output
Some checks failed
Docker Image cleanup / cleanup (push) Has been cancelled
2025-08-10 09:31:58 -04:00
Erik Huelsmann
0db448b9e8 * Automatic Dockerfile update by release process 2025-08-10 06:00:20 -04:00
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ LABEL org.opencontainers.image.description="LedgerSMB is a full featured double-
the LedgerSMB project is to bring high quality ERP and accounting capabilities\
to Small and Midsize Businesses."
ARG LSMB_VERSION="1.13.0-beta1"
ARG LSMB_VERSION="1.13.0-beta2"
ARG ARTIFACT_PATH="https://download.ledgersmb.org/f/Releases/$LSMB_VERSION/"

View File

@ -1,9 +1,9 @@
# Install LedgerSMB version
ARG LSMB_VERSION=1.13.0-beta1
ARG LSMB_VERSION="1.13.0-beta2"
# Install s6-overlay
ARG S6_OVERLAY_VERSION=3.2.0.2
FROM ledgersmb/ledgersmb:$LSMB_VERSION
FROM ledgersmb/ledgersmb:$LSMB_VERSION-base
# Repeat args if we still want to use them
ARG LSMB_VERSION
@ -18,7 +18,7 @@ RUN set -x && \
mkdir -p /var/lib/nginx/body /var/cache/nginx && \
DEBIAN_FRONTEND=noninteractive apt-get autoremove -q -y && \
DEBIAN_FRONTEND=noninteractive apt-get clean -q && \
ARCH="$(case "$(dpkg --print-architecture)" in armv7*) echo "armhf" ;; arm64) echo "aarch64" ;; amd64) echo "x86_64" ;; *) exit 1 ;; esac)" && \
ARCH="$(case "$(dpkg --print-architecture)" in armv7*|armhf) echo "armhf" ;; arm64) echo "aarch64" ;; amd64) echo "x86_64" ;; *) exit 1 ;; esac)" && \
wget -O /tmp/s6-overlay-noarch.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz && \
wget -O /tmp/s6-overlay-noarch.tar.xz.sha256 https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz.sha256 && \
wget -O /tmp/s6-overlay-${ARCH}.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${ARCH}.tar.xz && \