Add yarn to images to prepare for upcoming PR

This commit is contained in:
Robin 2022-04-09 11:19:38 +02:00
parent fc1846d2f4
commit 2ef4008c91

View File

@ -1,6 +1,10 @@
ARG PHP_VERSION=8.1 ARG PHP_VERSION=8.1
FROM php:${PHP_VERSION}-fpm-bullseye FROM php:${PHP_VERSION}-fpm-bullseye
RUN apt-get update && \
apt-get install --no-install-recommends -y yarnpkg && \
rm -rf /var/lib/apt/lists/*
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN chmod +x /usr/local/bin/install-php-extensions && \ RUN chmod +x /usr/local/bin/install-php-extensions && \
install-php-extensions @composer gd pdo_mysql mysqli zip exif install-php-extensions @composer gd pdo_mysql mysqli zip exif