Merge branch 'main' into dependabot/docker/core/alpine-3.20

This commit is contained in:
Abhilash Raj
2024-09-20 12:25:09 +05:30
committed by GitHub
6 changed files with 17 additions and 6 deletions

View File

@@ -247,7 +247,17 @@ echo "HYPERKITTY_API_KEY not defined, skipping HyperKitty setup..."
fi fi
# Now chown the places where mailman wants to write stuff. # Now chown the places where mailman wants to write stuff.
chown -R mailman /opt/mailman VAR_DIR="/opt/mailman/var"
# Check if the directory exists
if [ ! -d "$VAR_DIR" ]; then
# Directory does not exist, so create it
mkdir -p "$VAR_DIR"
echo "Directory $VAR_DIR created."
else
echo "Directory $VAR_DIR already exists."
fi
chown -R mailman $VAR_DIR
# Generate the LMTP files for postfix if needed. # Generate the LMTP files for postfix if needed.
su-exec mailman mailman aliases su-exec mailman mailman aliases

View File

@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:1.3 # syntax = docker/dockerfile:1.3
FROM alpine:3.20.1 FROM alpine:3.20.3
# Install packages and dependencies for postorius and hyperkitty Add user for # Install packages and dependencies for postorius and hyperkitty Add user for
# executing apps, change ownership for uwsgi+django files and set execution # executing apps, change ownership for uwsgi+django files and set execution

View File

@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:1.3 # syntax = docker/dockerfile:1.3
FROM alpine:3.20.1 FROM alpine:3.20.3
ARG POSTORIUS_REF ARG POSTORIUS_REF
ARG DJ_MM3_REF ARG DJ_MM3_REF

View File

@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:1.3 # syntax = docker/dockerfile:1.3
FROM alpine:3.20.1 FROM alpine:3.20.3
# Add requirements file. # Add requirements file.
COPY requirements.txt /tmp/ COPY requirements.txt /tmp/
@@ -28,6 +28,7 @@ RUN --mount=type=cache,target=/root/.cache \
diskcache \ diskcache \
django-utils-six \ django-utils-six \
tzdata \ tzdata \
pytz \
'django-allauth[socialaccount,openid]' \ 'django-allauth[socialaccount,openid]' \
&& apk del .build-deps \ && apk del .build-deps \
&& addgroup -S mailman \ && addgroup -S mailman \

View File

@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:1.3 # syntax = docker/dockerfile:1.3
FROM alpine:3.20.1 FROM alpine:3.20.3
ARG POSTORIUS_REF ARG POSTORIUS_REF
ARG HYPERKITTY_REF ARG HYPERKITTY_REF

View File

@@ -1,4 +1,4 @@
mailmanclient==3.3.5 mailmanclient==3.3.5
postorius==1.3.10 postorius==1.3.10
hyperkitty==1.3.9 hyperkitty==1.3.11
django-mailman3==1.3.15 django-mailman3==1.3.15