# Use SHA to specify the docker image to prevent the use of old cache images # TAG: latest-dev-cuda11.2-cudnn8.2-trt8.0-gcc82 FROM registry.baidubce.com/paddlepaddle/paddle@sha256:ac757bc25c341814284ceafb274c55e36ea7dcf026a265d14f885a0fa60368f8 # NVIDIA update GPG key on 04/29/2022. Fetch the public key for CI machine # Reference: https://developer.nvidia.com/blog/updating-the-cuda-linux-gpg-repository-key/ RUN apt-key adv --keyserver-options http-proxy=$http_proxy --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub RUN apt update RUN if ! command -v virtualenv &> /dev/null; then \ apt install -y virtualenv; \ fi