1- FROM python:3.11 -slim AS builder
1+ FROM python:3.10 -slim AS builder
22
33WORKDIR /app
44ADD pyproject.toml poetry.lock ./
@@ -8,7 +8,7 @@ RUN pip install --no-cache-dir poetry
88# Test comment
99RUN poetry export --extras duplicity --output /app/requirements.txt
1010
11- FROM python:3.11 -alpine AS base
11+ FROM python:3.10 -alpine AS base
1212
1313ENV CRONTAB_15MIN='*/15 * * * *' \
1414 CRONTAB_HOURLY='0 * * * *' \
@@ -86,7 +86,7 @@ RUN chmod a+rx /usr/local/bin/* && sync
8686FROM base AS s3
8787ENV JOB_500_WHAT='dup full $SRC $DST' \
8888 JOB_500_WHEN='weekly' \
89- OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-european-buckets --s3- multipart-chunk-size 10 --s3-use-new-style '
89+ OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-multipart-chunk-size 10'
9090
9191
9292FROM base AS docker
@@ -96,7 +96,7 @@ RUN apk add --no-cache docker-cli
9696FROM docker AS docker-s3
9797ENV JOB_500_WHAT='dup full $SRC $DST' \
9898 JOB_500_WHEN='weekly' \
99- OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-european-buckets --s3- multipart-chunk-size 10 --s3-use-new-style '
99+ OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-multipart-chunk-size 10'
100100
101101
102102FROM base AS postgres
@@ -139,10 +139,10 @@ ENV JOB_200_WHEN='daily weekly' \
139139FROM postgres AS postgres-s3
140140ENV JOB_500_WHAT='dup full $SRC $DST' \
141141 JOB_500_WHEN='weekly' \
142- OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-european-buckets --s3- multipart-chunk-size 10 --s3-use-new-style '
142+ OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)- --s3-multipart-chunk-size 10'
143143
144144
145145FROM postgres-s3 AS postgres-multi
146146ENV DST='multi' \
147147 OPTIONS_EXTRA='--metadata-sync-mode partial --full-if-older-than 1W --file-prefix-archive archive-$(hostname -f)- --file-prefix-manifest manifest-$(hostname -f)- --file-prefix-signature signature-$(hostname -f)-' \
148- OPTIONS_EXTRA_S3='--s3-european-buckets --s3- multipart-chunk-size 10 --s3-use-new-style '
148+ OPTIONS_EXTRA_S3='--s3-multipart-chunk-size 10'
0 commit comments