File tree Expand file tree Collapse file tree 3 files changed +23
-15
lines changed
Expand file tree Collapse file tree 3 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 11FROM container-base
22RUN 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
45RUN apt-get install -y podman
56
67RUN apt-get install -y apt-transport-https
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
55curl -fsSL https://gitlab.com/LcJuves/podock/-/raw/main/v2node/run-self-hosted-v2node-container.sh | sh
You can’t perform that action at this time.
0 commit comments