anchor.diff:      adduser canvasuser sudo && \
       echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
   
  -RUN gem install bundler --version 1.14.6
  +RUN if [ -e /var/lib/gems/$RUBY_MAJOR.0/gems/bundler-* ]; then BUNDLER_INSTALL="-i /var/lib/gems/$RUBY_MAJOR.0"; fi \
  +  && gem uninstall --all --ignore-dependencies --force $BUNDLER_INSTALL bundler \
  +  && gem install bundler --no-document -v 1.15.2 \
  +  && gem update --system --no-document \
  +  && chown -R canvasuser: $GEM_HOME
  +
  +#RUN gem install bundler --version 1.14.6
   
   COPY assets/dbinit.sh /opt/canvas/dbinit.sh
   COPY assets/start.sh /opt/canvas/start.sh
  
positive.code: ARG REVISION=master
  ENV RAILS_ENV development
  ENV GEM_HOME /opt/canvas/.gems
  
  # add nodejs and recommended ruby repos
  RUN apt-get update \
  
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
  
  