Frequently Asked Questions (FAQs)

  • Cloning a Repository

    • The git@code.jlab.org in the git://git@code.jlab.org/... URL is the correct username@host for the SSH git: protocol. Authentication (when needed) is done via SSH key exchange. You must upload a public key to your account.

    • See Clone a Git repository to your local computer for details.

  • Cleanup Instructions for Containers

    • Avoid running dnf install ... or dnf update directly in your Dockerfile or container unless absolutely necessary.

    • Instead, ensure you are starting from an up-to-date base image. For example, use:

      FROM registry.access.redhat.com/ubi8/ubi:latest
      

      Update the base image periodically to incorporate the latest patches.

    • If you must install or update packages, clean up after yourself to minimize image size and layer bloat:

      RUN dnf install -y <package> && \
          dnf clean all
      
    • Be mindful of large updates being pulled in. This generates bloat and can greatly increase the run time of your CI/CD jobs. If updates are significant, consider rebuilding the container with an updated base image instead of performing in-place updates.