docker-twitchlite/helix/Dockerfile
renovate-bot feeac6da4e
All checks were successful
Test / lint (pull_request) Successful in 3s
Test / test (pull_request) Successful in 31s
Build and publish / lint (push) Successful in 3s
Build and publish / build (push) Successful in 58s
Update php Docker tag to v8.4.4
2025-02-14 07:12:14 +00:00

27 lines
823 B
Docker

FROM php:8.4.4-fpm-bullseye@sha256:755d39b73e825795497a69cf58ede5968d9f91bb2ed8abc2f8f9115ed9ca4f45
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"]