Skip to content

Commit 168f27e

Browse files
committed
fix: Update install script URL to use GitHub for Docker installation
1 parent 2a26a50 commit 168f27e

File tree

3 files changed

+23
-15
lines changed

3 files changed

+23
-15
lines changed

container-image-builder/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM container-base
22
RUN apt-get install -y curl
3-
RUN curl -fsSL https://gitlab.com/LcJuves/podock/-/raw/main/container-image-builder/install-docker-for-debian.sh | sh
3+
4+
RUN curl -fsSL https://github.com/LcJuves/podock/raw/refs/heads/dev/lcjuves/container-image-builder/install-docker-for-debian.sh | sh
45
RUN apt-get install -y podman
56

67
RUN apt-get install -y apt-transport-https
Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
#!/bin/sh
22

3-
apt-get remove -y docker docker-engine docker.io containerd runc
4-
apt-get install -y \
5-
ca-certificates \
6-
curl \
7-
gnupg \
8-
lsb-release
9-
mkdir -p /etc/apt/keyrings
10-
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
11-
echo \
12-
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
13-
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list >/dev/null
14-
apt-get update -y
15-
apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
3+
apt remove $(dpkg --get-selections docker.io docker-compose docker-doc podman-docker containerd runc | cut -f1)
4+
5+
# Add Docker's official GPG key:
6+
apt update -y
7+
apt install -y ca-certificates curl
8+
install -m 0755 -d /etc/apt/keyrings
9+
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
10+
chmod a+r /etc/apt/keyrings/docker.asc
11+
12+
# Add the repository to Apt sources:
13+
tee /etc/apt/sources.list.d/docker.sources <<EOF
14+
Types: deb
15+
URIs: https://download.docker.com/linux/debian
16+
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
17+
Components: stable
18+
Signed-By: /etc/apt/keyrings/docker.asc
19+
EOF
20+
21+
apt update -y
22+
apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

v2node/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
```bash
2-
curl -fsSL https://gitlab.com/LcJuves/podock/-/raw/main/container-image-builder/install-docker-for-debian.sh | sh
2+
curl -fsSL https://github.com/LcJuves/podock/raw/refs/heads/dev/lcjuves/container-image-builder/install-docker-for-debian.sh | sh
33
```
44
```bash
55
curl -fsSL https://gitlab.com/LcJuves/podock/-/raw/main/v2node/run-self-hosted-v2node-container.sh | sh

0 commit comments

Comments
 (0)