Skip to content

Commit

Permalink
Added missing Chromium dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sweoggy committed May 6, 2019
1 parent 79866dd commit 6143970
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.3-fpm-alpine

RUN apk add --update --no-cache mariadb-client libbz2 git zlib pcre nodejs \
yarn optipng libtool nasm openssh-client libxslt libzip icu libpng bzip2
yarn optipng libtool nasm openssh-client libxslt libzip icu libpng bzip2 libxslt-dev build-base

# Chromium dependencies
RUN echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \
Expand All @@ -10,7 +10,10 @@ RUN echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repos
&& apk add --no-cache \
chromium@edge \
harfbuzz@edge \
nss@edge
nss@edge \
freetype@edge \
ttf-freefont@edge \
xvfb@edge

ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD 1

Expand All @@ -19,8 +22,7 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD 1
ENV DBUS_SESSION_BUS_ADDRESS=/dev/null

# Build dependencies
RUN apk add --no-cache --virtual build-dependencies autoconf automake build-base libzip-dev libxslt-dev icu-dev \
libpng-dev bzip2-dev
RUN apk add --no-cache --virtual build-dependencies autoconf automake libzip-dev icu-dev libpng-dev bzip2-dev

RUN pecl install apcu \
&& pecl install xdebug-2.7.1 \
Expand Down

0 comments on commit 6143970

Please sign in to comment.