• Joined on 2025-05-01

hubzilla (latest)

Published 2025-05-20 19:12:47 +00:00 by sylvain

Installation

docker pull git.piaf.im/sylvain/hubzilla:latest
sha256:5c32a710c3537f6da81579233a1d3cc9bcbfeb8ccf2b8bd8223ef5e456a5348a

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1745798400'
ENV DEBIAN_FRONTEND=noninteractive
RUN /bin/sh -c apt-get update && apt-get install -y lsb-release gnupg2 ca-certificates curl && echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list && curl -fsSL https://packages.sury.org/php/apt.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/php.gpg # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y apache2 mariadb-client php8.2 libapache2-mod-php8.2 php8.2-cli php8.2-mysql php8.2-curl php8.2-gd php8.2-xml php8.2-zip php8.2-mbstring php8.2-bcmath php8.2-gmp php8.2-intl git unzip nano cron && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
WORKDIR /var/www
RUN /bin/sh -c git clone https://framagit.org/hubzilla/core.git /hubzilla-src && mkdir -p /hubzilla-src/store/[data]/smarty3 && chown -R www-data:www-data /hubzilla-src && chmod -R 750 /hubzilla-src # buildkit
RUN /bin/sh -c a2enmod rewrite ssl # buildkit
RUN /bin/sh -c PHPINI=/etc/php/8.2/apache2/php.ini && [ -f "$PHPINI" ] && echo "upload_max_filesize = 20M" >> "$PHPINI" && echo "post_max_size = 20M" >> "$PHPINI" && echo "register_argc_argv = On" >> "$PHPINI" # buildkit
COPY src/hubzilla.conf /etc/apache2/sites-available/hubzilla.conf # buildkit
RUN /bin/sh -c a2dissite 000-default.conf && a2ensite hubzilla.conf # buildkit
COPY src/start.sh /start.sh # buildkit
RUN /bin/sh -c chmod +x /start.sh # buildkit
CMD ["/bin/bash" "/start.sh"]
Details
Container
2025-05-20 19:12:47 +00:00
28
OCI / Docker
linux/amd64
432 MiB
Versions (1) View all
latest 2025-05-20