trivy image --download-db-only

Download/update vulnerability database but don't run a scan [$TRIVY_DOWNLOAD_DB_ONLY]