Skip to content

Conversation

geminixiang
Copy link

Fixes #35

Description

This PR fixes the Google Cloud CLI installation script to work with modern Ubuntu/Debian systems by replacing the deprecated apt-key command with the recommended gpg approach.

Problem

The current installation script fails on Ubuntu 22.04+ with the error:

apt-key: command not found

Solution

Replaced apt-key usage with gpg --dearmor to properly handle GPG key import

ref. https://github.com/google-research/google-research/blob/46fe0fb7a0e36611b2ade273819ce35b0bd1ccc4/learning_to_clarify/Dockerfile#L20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

apt-key command not found

1 participant