docker-twitchlite/helix/Dockerfile
renovate-bot 9774ad7f7f
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Update php Docker tag to v8.4.2
2024-12-21 01:09:52 +00:00

28 lines
823 B
Docker

FROM php:8.4.2-fpm-bullseye@sha256:10ce5075abc6a5f474ec3af9f2a031d73023b04557e04acb98205e1d21128b02
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"]