diff --git a/php/circleci/Dockerfile b/php/circleci/Dockerfile index 147ab08..2853938 100644 --- a/php/circleci/Dockerfile +++ b/php/circleci/Dockerfile @@ -53,8 +53,27 @@ RUN apk --update --no-cache add bash \ libpng-dev \ libtool \ nasm \ - vips-dev \ - chromium + vips-dev + +# Installs latest Chromium package. +RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" > /etc/apk/repositories \ + && echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \ + && echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \ + && echo "http://dl-cdn.alpinelinux.org/alpine/v3.12/main" >> /etc/apk/repositories \ + && apk upgrade -U -a \ + && apk add \ + libstdc++ \ + chromium \ + harfbuzz \ + nss \ + freetype \ + ttf-freefont \ + font-noto-emoji \ + wqy-zenhei \ + && rm -rf /var/cache/* \ + && mkdir /var/cache/apk + +COPY local.conf /etc/fonts/local.conf COPY --chown=skpr:skpr --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules COPY --chown=skpr:skpr --from=node /usr/local/bin/node /usr/local/bin/node diff --git a/php/circleci/local.conf b/php/circleci/local.conf new file mode 100644 index 0000000..e8832cc --- /dev/null +++ b/php/circleci/local.conf @@ -0,0 +1,31 @@ + + + + + + sans-serif + + Main sans-serif font name goes here + Noto Color Emoji + Noto Emoji + + + + + serif + + Main serif font name goes here + Noto Color Emoji + Noto Emoji + + + + + monospace + + Main monospace font name goes here + Noto Color Emoji + Noto Emoji + + +