From 876bfa0f4984f0a733667e55725879b14f70e8ca Mon Sep 17 00:00:00 2001 From: Stephane de Labrusse Date: Fri, 24 May 2024 11:13:22 +0200 Subject: [PATCH] Patch from upstream to fix Data::Dumper bug patch from upstream https://github.com/backuppc/backuppc/issues/466 --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 80fe4bb..2f3154a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG DISTRO="alpine" -ARG DISTRO_VARIANT="3.16" +ARG DISTRO_VARIANT="3.19" FROM docker.io/tiredofit/nginx:${DISTRO}-${DISTRO_VARIANT} LABEL maintainer="Dave Conroy (github.com/tiredofit)" @@ -110,6 +110,10 @@ RUN source /assets/functions/00-container && \ mkdir -p /assets/install && \ curl -sSL https://github.com/backuppc/backuppc/releases/download/$BACKUPPC_VERSION/BackupPC-$BACKUPPC_VERSION.tar.gz | tar xvfz - --strip 1 -C /assets/install && \ \ + && apk add patch \ + && curl -o /assets/install/patchfile.patch https://github.com/backuppc/backuppc/commit/2c9270b9b849b2c86ae6301dd722c97757bc9256.patch \ + && cd /assets/install \ + && patch -p1 < patchfile.patch \ package remove .backuppc-build-deps && \ package cleanup && \ rm -rf /root/.cpanm \