message: Move to jessie:slim for rdkafka dockerfile for consistency with r11s dockerfile
diff: -FROM node:8.12.0-alpine
  -
  -RUN apk --no-cache add \
  - bash \
  - g++ \
  - ca-certificates \
  - lz4-dev \
  - musl-dev \
  - cyrus-sasl-dev \
  - openssl-dev \
  - make \
  - python \
  - tini
  +# Note that the build of this file is assumed to have happend from the parent directory
  +FROM node:8.12.0-slim
  -RUN apk add --no-cache --virtual .build-deps gcc zlib-dev libc-dev bsd-compat-headers py-setuptools bash
  +# node-gyp dependencies
  +RUN apt-get update && apt-get install -y \
  + python \
  + make \
  + g++
  -# Copy over and build the server
  -WORKDIR /usr/src/server
  +# Add Tini
  +ENV TINI_VERSION v0.18.0
  +ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
  +RUN chmod +x /tini
  ARG NPM_TOKEN
  -COPY .npmrc .
  -COPY package-lock.json .
  -COPY package.json .
  -RUN npm install
  -
  -# Remove build tools
  -RUN apk del .build-deps
  +# Copy over and build the server
  +# Eventually we can better optimzie this. For now we just copy everything.
  +WORKDIR /usr/src/server
  COPY . .
  +
  +WORKDIR /usr/src/server/functions
  +RUN npm install --unsafe-perm
  RUN npm run build
  # Don't run as root user
  @@ -36,7 +30,7 @@ EXPOSE 3000
  # Node wasn't designed to be run as PID 1. Tini is a tiny init wrapper. You can also set --init on docker later than
  # 1.13 but Kubernetes is at 1.12 so we prefer tini for now.
  -ENTRYPOINT ["/sbin/tini", "--"]
  +ENTRYPOINT ["/tini", "--"]
  # And set the default command to start the server
  CMD ["npm", "run", "alfred"]
  