cloud-hosting-platform

cpanel-importer (08b995a29cf8)

Published 2026-06-01 03:32:56 +00:00 by jknapp

Installation

docker pull repo.anhonesthost.net/cloud-hosting-platform/cpanel-importer:08b995a29cf8
sha256:6e4442ed2977a5e39d943abc053e30e28cadaf68719073f1b5ef53c7aa2e1da5

Images

Digest OS / Arch Size
d7f47ed6da linux/amd64 198 MiB

Image Layers ( linux/amd64)

ADD almalinux-10-minimal-amd64.tar.xz / # buildkit
CMD ["/bin/bash"]
LABEL org.opencontainers.image.title=cpanel-importer
LABEL org.opencontainers.image.description=cPanel cpmove sanitization sandbox (ClamAV + SaneSecurity + WP content scan)
LABEL org.opencontainers.image.source=https://repo.anhonesthost.net/cloud-hosting-platform/cpanel-importer
LABEL org.opencontainers.image.licenses=MIT
ARG TARGETARCH=amd64
ARG WHP_UID=999
ARG WHP_GID=999
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 PHP_INI_DIR=/etc/php.d
RUN |3 TARGETARCH=amd64 WHP_UID=999 WHP_GID=999 /bin/sh -c set -eux; microdnf -y install --setopt=install_weak_deps=0 epel-release dnf shadow-utils ; dnf -y --setopt=install_weak_deps=0 install https://rpms.remirepo.net/enterprise/remi-release-10.rpm ; dnf -y --setopt=install_weak_deps=0 module reset php ; dnf -y --setopt=install_weak_deps=0 module enable php:remi-8.4 ; groupadd --system --gid ${WHP_GID} whp-import ; useradd --system --uid ${WHP_UID} --gid ${WHP_GID} --home-dir /opt/whp --no-create-home --shell /sbin/nologin whp-import ; dnf -y --setopt=install_weak_deps=0 install php-cli php-json php-mbstring php-pdo php-mysqlnd php-xml php-zip php-process clamav clamav-update tar gzip bzip2 xz mariadb rsync ca-certificates coreutils-single findutils which ; mkdir -p /opt/whp /scripts /host/backup /host/quarantine /host/sanitized /var/lib/clamav /var/log/clamav ; chown -R whp-import:whp-import /opt/whp /var/log/clamav ; chown whp-import:whp-import /host/quarantine /host/sanitized ; dnf -y clean all ; rm -rf /var/cache/dnf /var/cache/yum /var/cache/ldconfig/* /usr/share/doc /usr/share/man /usr/share/info # buildkit
COPY configs/freshclam.conf /etc/freshclam.conf # buildkit
COPY configs/sanesecurity-mirror.txt /opt/whp/sanesecurity-mirror.txt # buildkit
RUN |3 TARGETARCH=amd64 WHP_UID=999 WHP_GID=999 /bin/sh -c set -eux; chown whp-import:whp-import /etc/freshclam.conf ; freshclam --no-warnings --user=root || echo "WARN: freshclam failed during build; runtime refresh will retry" ; SANE_MIRROR="$(cat /opt/whp/sanesecurity-mirror.txt)" ; rsync -av --no-motd --contimeout=30 --include='foxhole_filename.cdb' --include='foxhole_filename.cdb.sig' --include='foxhole_generic.cdb' --include='foxhole_generic.cdb.sig' --include='foxhole_js.cdb' --include='foxhole_js.cdb.sig' --include='foxhole_js.ndb' --include='foxhole_js.ndb.sig' --include='foxhole_mail.cdb' --include='foxhole_mail.cdb.sig' --include='foxhole_all.ndb' --include='foxhole_all.ndb.sig' --exclude='*' "rsync://${SANE_MIRROR}/sanesecurity/" /var/lib/clamav/ || echo "WARN: SaneSecurity rsync failed during build; runtime freshclam will retry" ; chown -R whp-import:whp-import /var/lib/clamav ; chmod -R u=rwX,g=rX,o= /var/lib/clamav ; ls -la /var/lib/clamav/ # buildkit
COPY --chown=whp-import:whp-import scripts/ /scripts/ # buildkit
RUN |3 TARGETARCH=amd64 WHP_UID=999 WHP_GID=999 /bin/sh -c chmod 0755 /scripts/entrypoint.sh /scripts/extract.sh /scripts/scan-files.php /scripts/scan-dbs.php # buildkit
WORKDIR /opt/whp
USER whp-import
ENTRYPOINT ["/scripts/entrypoint.sh"]

Labels

Key Value
org.opencontainers.image.description cPanel cpmove sanitization sandbox (ClamAV + SaneSecurity + WP content scan)
org.opencontainers.image.licenses MIT
org.opencontainers.image.source https://repo.anhonesthost.net/cloud-hosting-platform/cpanel-importer
org.opencontainers.image.title cpanel-importer
Details
Container
2026-06-01 03:32:56 +00:00
0
OCI / Docker
Versions (4) View all
latest 2026-06-01
08b995a29cf8 2026-06-01
4888f85b5483 2026-05-31
9652a71816a5 2026-05-31