docker-twitchlite/helix/Dockerfile
renovate-bot 74beba41cc
All checks were successful
Test / lint (pull_request) Successful in 4s
Test / test (pull_request) Successful in 33s
Build and publish / lint (push) Successful in 3s
Build and publish / build (push) Successful in 1m16s
Update php:8.4.8-fpm-bullseye Docker digest to a2e151d
2025-06-11 03:11:07 +00:00

27 lines
823 B
Docker

FROM php:8.4.8-fpm-bullseye@sha256:a2e151ddefcfb66322b195892992c1a20f6a8284e2e7412568c30d56272f69cc
RUN set -ex; \
\
groupadd --system foo; \
useradd --no-log-init --system --gid foo --create-home foo; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
gosu \
git \
; \
mkdir -p /usr/share/twitchlite /var/www/twitchlite; \
git clone --branch helix https://github.com/mwalbeck/twitchlite.git /usr/share/twitchlite; \
rm -r /usr/share/twitchlite/.git /usr/share/twitchlite/.gitignore;\
\
apt-get purge -y --auto-remove git; \
rm -rf /var/lib/apt/lists/*; \
\
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini";
COPY entrypoint.sh /entrypoint.sh
WORKDIR /var/www/twitchlite
ENTRYPOINT ["/entrypoint.sh"]
CMD ["php-fpm"]