anchor.diff:  	make -j$(nproc) > /dev/null && \
   	make install
   
  -ENV PATH="${PATH}:/opt/ruby/bin:/opt/node/bin"
  +COPY --from=node /usr/local/bin/node /usr/local/bin/node
  +COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules
  +COPY --from=node /usr/local/bin/npm /usr/local/bin/npm
  +COPY --from=node /opt/yarn-* /opt/yarn
   
  -RUN npm install -g yarn && \
  -	gem install bundler && \
  +ENV PATH="${PATH}:/opt/ruby/bin:/opt/yarn/bin"
  +
  +RUN gem install bundler && \
   	apt update && \
   	apt -y install git libicu-dev libidn11-dev \
   	libpq-dev libprotobuf-dev protobuf-compiler
  
positive.code: FROM ubuntu:18.04 as build-dep
  
  # Use bash for the shell
  SHELL ["bash", "-c"]
  
  # Install Node
  ENV NODE_VER="8.15.0"
  RUN	echo "Etc/UTC" > /etc/localtime && \
  	apt update && \
  	apt -y install wget make gcc g++ python && \
  	cd ~ && \
  	wget https://nodejs.org/download/release/v$NODE_VER/node-v$NODE_VER.tar.gz && \
  	tar xf node-v$NODE_VER.tar.gz && \
  	cd node-v$NODE_VER && \
  	./configure --prefix=/opt/node && \
  	make -j$(nproc) > /dev/null && \
  	make install
  
  # Install jemalloc
  ENV JE_VER="5.1.0"
  
negative.code: FROM ubuntu:18.04
  
  # Copy over all the langs needed for runtime
  COPY --from=node /usr/local/bin/node /usr/local/bin/node
  COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules
  COPY --from=node /usr/local/bin/npm /usr/local/bin/npm
  COPY --from=node /opt/yarn-* /opt/yarn
  COPY --from=build-dep /opt/ruby /opt/ruby
  COPY --from=build-dep /opt/jemalloc /opt/jemalloc
  
  # Add more PATHs to the PATH
  ENV PATH="${PATH}:/opt/ruby/bin:/opt/yarn/bin:/opt/mastodon/bin"
  
  # Create the mastodon user
  ARG UID=991
  