Install libonig-dev with apk

This commit is contained in:
David Bomba
2020-11-28 17:26:13 +11:00
parent 1596478724
commit a24c1b98a3

View File

@@ -43,8 +43,6 @@ COPY --from=frontend /var/www/app /var/www/app
COPY entrypoint.sh /usr/local/bin/docker-entrypoint
RUN chmod +x /usr/local/bin/docker-entrypoint
RUN apt-get update && apt-get install -y libonig-dev
RUN set -eux; \
apk add --no-cache \
nodejs \
@@ -55,6 +53,7 @@ RUN set -eux; \
libjpeg-turbo-dev \
libpng-dev \
libzip-dev \
oniguruma-dev \
zip; \
docker-php-ext-configure gd --with-freetype --with-jpeg; \
docker-php-ext-install -j$(nproc) \