anchor.diff:      build-essential \
       autoconf \
       libtool \
  +    pkg-config \
       wget
   
  -# Build nghttp2 from source (for Curl)
  -RUN wget -q https://github.com/nghttp2/nghttp2/releases/download/v1.31.1/nghttp2-1.31.1.tar.gz -O ./nghttp2.tar.gz \
  -    && mkdir -p /src/nghttp2 \
  -    && tar -xvf nghttp2.tar.gz -C /src/nghttp2 --strip 1 \
  -    && cd /src/nghttp2 \
  -    && ./configure \
  +# Install Node and app-related dependencies
  +RUN wget -O- https://deb.nodesource.com/setup_8.x | bash - \
  +    && apt-get install -y nodejs graphicsmagick icnsutils
  +
  +# Build zlib from source (for Curl)
  +RUN wget -q https://github.com/madler/zlib/archive/v1.2.11.tar.gz -O ./zlib.tar.gz \
  +    && mkdir -p /src/zlib /build/zlib \
  +    && tar -xvf zlib.tar.gz -C /src/zlib --strip 1 \
  +    && cd /src/zlib \
  +    && ./configure --prefix=/build/zlib \
       && make \
       && make install \
       && ldconfig
  
positive.code:     && mkdir -p /src/openssl /build/openssl \
      && tar -xvf openssl.tar.gz -C /src/openssl --strip 1 \
      && cd /src/openssl \
      && ./config no-shared --prefix=/build/openssl --openssldir=/build/openssl \
      && make \
      && make install \
      && ldconfig
  
negative.code: VOLUME /src/insomnia/packages/insomnia-app/dist
  
  # Install root project dependencies
  RUN npm run bootstrap \
      && npm install --no-save 7zip-bin-linux app-builder-bin-linux
  
  # Define build command
  CMD npm run app-package