docker-twitchlite/helix/Dockerfile
renovate-bot 229674b3a7
Some checks failed
Test / lint (pull_request) Failing after 1s
Test / test (pull_request) Failing after 4s
Update php:8.4.4-fpm-bullseye Docker digest to 03b978a
2025-02-25 07:12:12 +00:00

27 lines
823 B
Docker

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