anchor.diff:         ; do cp config/$config.yml.example config/$config.yml \
          ; done
   
  -RUN $GEM_HOME/bin/bundle install --without="mysql"
  -
  -RUN npm install --unsafe-perm \
  -    && $GEM_HOME/bin/bundle exec rake canvas:compile_assets_dev \
  -    && sudo npm install --unsafe-perm -g coffee-script@1.6.2
  +RUN $GEM_HOME/bin/bundle install --jobs 8 --without="mysql"
  +RUN yarn install --pure-lockfile
  +RUN COMPILE_ASSETS_NPM_INSTALL=0 $GEM_HOME/bin/bundle exec rake canvas:compile_assets_dev
   
   RUN mkdir -p log tmp/pids public/assets public/stylesheets/compiled \
       && touch Gemmfile.lock
  
positive.code:     adduser canvasuser sudo && \
      echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
  
  RUN gem install bundler --version 1.14.6
  
  COPY assets/dbinit.sh /opt/canvas/dbinit.sh
  COPY assets/start.sh /opt/canvas/start.sh
  
negative.code:     && apt-get update \
      && apt-get install -y ruby2.4 ruby2.4-dev supervisor redis-server \
          zlib1g-dev libxml2-dev libxslt1-dev libsqlite3-dev postgresql \
          postgresql-contrib libpq-dev libxmlsec1-dev curl make g++ git \
          unzip fontforge libicu-dev
  
  RUN curl -sL https://deb.nodesource.com/setup_6.x | bash \
      && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
      && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
      && apt-get update \
      && apt-get install -y --no-install-recommends \
          nodejs \
          yarn="$YARN_VERSION" \
          unzip \
          fontforge
  
  RUN apt-get clean && rm -Rf /var/cache/apt
  
  