mailu/oletools (gitc95f16a53b5244154fb3b0bc8cbc15c9527c0eb3)

Published 11 months ago by lub in lub/mailu

Installation

docker pull gitea.lubiland.de/lub/mailu/oletools:gitc95f16a53b5244154fb3b0bc8cbc15c9527c0eb3
sha256:a0fdea97ca807576855a8fa7f6eac5680db35fc4a44734d75d7aeab4b2f3d55f

Image Layers

ADD file:756183bba9c7f4593c2b216e98e4208b9163c4c962ea0837ef88bd917609d001 in /
CMD ["/bin/sh"]
ENV TZ=Etc/UTC LANG=C.UTF-8
ARG MAILU_UID=1000
ARG MAILU_GID=1000
RUN |2 MAILU_UID=1000 MAILU_GID=1000 /bin/sh -c set -euxo pipefail ; addgroup -Sg ${MAILU_GID} mailu ; adduser -Sg ${MAILU_UID} -G mailu -h /app -g "mailu app" -s /bin/bash mailu ; apk add --no-cache bash ca-certificates curl python3 tzdata ; ! [[ "$(uname -m)" == x86_64 ]] || apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing hardened-malloc # buildkit
WORKDIR /app
CMD ["/bin/sh" "-c" "/bin/bash"]
COPY /app/venv/ /app/venv/ # buildkit
COPY /app/snuffleupagus.so /usr/lib/php81/modules/ # buildkit
ENV VIRTUAL_ENV=/app/venv PATH=/app/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ADMIN_ADDRESS=admin FRONT_ADDRESS=front FTS_ATTACHMENTS_ADDRESS=tika SMTP_ADDRESS=smtp IMAP_ADDRESS=imap OLETOOLS_ADDRESS=oletools REDIS_ADDRESS=redis ANTIVIRUS_ADDRESS=antivirus ANTISPAM_ADDRESS=antispam WEBMAIL_ADDRESS=webmail WEBDAV_ADDRESS=webdav
ARG VERSION=local
LABEL version=local
ARG OLEFY_SCRIPT=https://raw.githubusercontent.com/HeinleinSupport/olefy/f8aac6cc55283886d153e89c8f27fae66b1c24e2/olefy.py
ARG OLEFY_SHA256=1f5aa58b78ca7917350135b4425e5ed4d580c7051aabed1952c6afd12d0345a0
RUN |3 VERSION=local OLEFY_SCRIPT=https://raw.githubusercontent.com/HeinleinSupport/olefy/f8aac6cc55283886d153e89c8f27fae66b1c24e2/olefy.py OLEFY_SHA256=1f5aa58b78ca7917350135b4425e5ed4d580c7051aabed1952c6afd12d0345a0 /bin/sh -c set -euxo pipefail ; apk add --no-cache netcat-openbsd libmagic libffi ; curl -sLo olefy.py $OLEFY_SCRIPT ; echo "$OLEFY_SHA256 olefy.py" |sha256sum -c ; chmod 755 olefy.py # buildkit
COPY start.py / # buildkit
RUN |3 VERSION=local OLEFY_SCRIPT=https://raw.githubusercontent.com/HeinleinSupport/olefy/f8aac6cc55283886d153e89c8f27fae66b1c24e2/olefy.py OLEFY_SHA256=1f5aa58b78ca7917350135b4425e5ed4d580c7051aabed1952c6afd12d0345a0 /bin/sh -c echo $VERSION >/version # buildkit
HEALTHCHECK &{["CMD-SHELL" "echo PING|nc -q1 127.0.0.1 11343|grep \"PONG\""] "0s" "0s" "1m0s" '\x00'}
USER nobody:nobody
ENV OLEFY_BINDADDRESS= OLEFY_BINDPORT=11343 OLEFY_OLEVBA_PATH=/app/venv/bin/olevba OLEFY_PYTHON_PATH=/app/venv/bin/python3 OLEFY_TMPDIR=/dev/shm/ OLEFY_MINLENGTH=300 OLEFY_DEL_TMP=1 OLEFY_DEL_TMP_FAILED=1
CMD ["/bin/sh" "-c" "/start.py"]

Labels

Key Value
version local
Details
Container
11 months ago
0
OCI / Docker
linux/amd64
75 MiB
Versions (3) View all