Things required:
- Linux headers: https://cdn.kernel.org/pub/linux/kernel/
- Binutils: https://www.gnu.org/software/binutils/
- GCC: https://www.gnu.org/software/gcc/
- glibc: https://www.gnu.org/software/libc/
Things required:
| # 1: Use node 6 as base: | |
| FROM node:6-alpine | |
| # 2: Download+Install PhantomJS, as the npm package 'phantomjs-prebuilt' won't work on alpine! | |
| # See https://github.com/dustinblackman/phantomized | |
| RUN set -ex \ | |
| && apk add --no-cache --virtual .build-deps ca-certificates openssl \ | |
| && wget -qO- "https://github.com/dustinblackman/phantomized/releases/download/2.1.1/dockerized-phantomjs.tar.gz" | tar xz -C / \ | |
| && npm install -g phantomjs \ | |
| && apk del .build-deps |
These rules are adopted from the AngularJS commit conventions.