MissouriMRDT / Autonomy_Software

Do not use apt, use apt-get or apt-cache instead DOK-DL3027
Anti-pattern
Major
2 occurrences in this check
Do not use apt as it is meant to be an end-user tool, use apt-get or apt-cache instead
 23RUN echo "# R${L4T_MAJOR} (release), REVISION: ${L4T_MINOR}.${L4T_PATCH}" > /etc/nv_tegra_release
 24
 25# Add APT Repo for PCIe drivers and Bazel.
 26RUN apt update && apt install -y curl && \ 27    echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list && \
 28    curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
 29
Do not use apt as it is meant to be an end-user tool, use apt-get or apt-cache instead
 31RUN echo "CUDA Version ${CUDA_MAJOR}.${CUDA_MINOR}.${CUDA_PATCH}" > /usr/local/cuda/version.txt
 32
 33# Add APT Repo for PCIe drivers.
 34RUN apt update && apt install -y curl && \ 35    echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list && \
 36    curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \
 37    curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg && \