Skip to content

Commit f0b558e

Browse files
committed
Reinstate docker installation
* build-files/install-packages.sh - Reinstate docker installation * build-files/supported_packages.txt - Remove podman-docker from package list so it doesn't conflict with "real" docker
1 parent 5a42d9d commit f0b558e

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

build-files/install-packages.sh

+16
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@ header "Installing additional packages"
2929
msg "Updating package list..."
3030
sudo DEBIAN_FRONTEND=noninteractive apt-get update -y >/dev/null
3131

32+
# installing docker
33+
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
34+
35+
# Add Docker's official GPG key:
36+
sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
37+
sudo DEBIAN_FRONTEND=noninteractive apt-get install ca-certificates curl -y
38+
sudo install -m 0755 -d /etc/apt/keyrings
39+
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
40+
sudo chmod a+r /etc/apt/keyrings/docker.asc
41+
42+
# Add the repository to Apt sources:
43+
echo \
44+
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
45+
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
46+
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
47+
3248
# Read the file line by line and install each package
3349
OK=`true`
3450
while IFS= read -r package || [ -n "$package" ]; do

build-files/supported_packages.txt

-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ pipx
7575
pkg-config
7676
podman
7777
podman-compose
78-
podman-docker
7978
podman-remote
8079
podman-toolbox
8180
pollinate

0 commit comments

Comments
 (0)