anchor.diff:  USER root
   
   ARG DEV_TOOLS="vim gdb"
  -RUN microdnf install ${DEV_TOOLS}
  +RUN microdnf install --nodocs ${DEV_TOOLS}
   
   ARG DEV_UID=1001
   ARG DEV_GID=1001
  
positive.code: 
  ARG BUILD_DEPS="tar make file findutils git patch gcc automake autoconf libtool redhat-rpm-config openssl-devel ruby-devel"
  
  RUN microdnf install ${BUILD_DEPS}
  
  COPY --chown=1001:1001 ./Gemfile* "${HOME}/app/"
  
  
negative.code: ENV HOME=/home
  WORKDIR "${HOME}/app"
  
  ARG RUBY_VERSION="2.7"
  ARG BUNDLER_VERSION="2.2.1"
  ARG RUNTIME_DEPS="ruby"
  
  RUN echo -e "[ruby]\nname=ruby\nstream=${RUBY_VERSION}\nprofiles=\nstate=enabled\n" > /etc/dnf/modules.d/ruby.module \
    && microdnf update --nodocs \
    && microdnf install --nodocs ${RUNTIME_DEPS} \
    && gem install -N bundler -v "= ${BUNDLER_VERSION}" \
    && chown -R 1001:1001 "${HOME}"
  
  