Skip to content

Add support for debian bullseye and deprecate apt-key#241

Closed
YadominJinta wants to merge 0 commit into
docker:masterfrom
YadominJinta:master
Closed

Add support for debian bullseye and deprecate apt-key#241
YadominJinta wants to merge 0 commit into
docker:masterfrom
YadominJinta:master

Conversation

@YadominJinta

Copy link
Copy Markdown
Contributor

No description provided.

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Changes look ok, but left one comment. Let me fix that, then we should be ready to merge

Comment thread install.sh Outdated
$sh_c 'apt-get update -qq >/dev/null'
$sh_c "DEBIAN_FRONTEND=noninteractive apt-get install -y -qq $pre_reqs >/dev/null"
$sh_c "curl -fsSL \"$DOWNLOAD_URL/linux/$lsb_dist/gpg\" | apt-key add -qq - >/dev/null"
$sh_c "curl -fsSL \"$DOWNLOAD_URL/linux/$lsb_dist/gpg\" | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sudo isn't needed here, because this line is executed with $sh_c, which runs with sudo:

docker-install/install.sh

Lines 285 to 288 in ef254df

if command_exists sudo; then
sh_c='sudo -E sh -c'
elif command_exists su; then
sh_c='su -c'

@thaJeztah

Copy link
Copy Markdown
Member

Arf, my bad; pushed to the wrong branch; carried in #243

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.

2 participants