just python support
This commit is contained in:
parent
472ac97c56
commit
db5d9e618f
|
|
@ -1,7 +1,7 @@
|
|||
FROM docker.io/mailserver/docker-mailserver:latest
|
||||
|
||||
LABEL maintainer="andreas@knuth.dev"
|
||||
LABEL description="Custom DMS with content filter support"
|
||||
LABEL maintainer="andreas.knuth@bayarea-cc.com"
|
||||
LABEL description="Custom DMS with Python3 support"
|
||||
|
||||
# Install Python and boto3
|
||||
RUN apt-get update && \
|
||||
|
|
@ -11,11 +11,3 @@ RUN apt-get update && \
|
|||
&& pip3 install --break-system-packages --no-cache-dir boto3 \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy content filter script
|
||||
COPY content_filter.py /usr/local/bin/content_filter.py
|
||||
RUN chmod +x /usr/local/bin/content_filter.py
|
||||
|
||||
# Create log file with correct permissions
|
||||
RUN touch /var/log/mail/content_filter.log && \
|
||||
chown mail:mail /var/log/mail/content_filter.log
|
||||
Loading…
Reference in New Issue