Add docker install steps
This commit is contained in:
parent
0ea868afaa
commit
455e02c4e9
1 changed files with 12 additions and 0 deletions
|
@ -6,6 +6,18 @@ jobs:
|
||||||
build-container:
|
build-container:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
|
-
|
||||||
|
name: Prepare Container Environment
|
||||||
|
run: apt-get install ca-certificates curl gnupg
|
||||||
|
run: install -m 0755 -d /etc/apt/keyrings
|
||||||
|
run: curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||||
|
run: chmod a+r /etc/apt/keyrings/docker.gpg
|
||||||
|
run: echo \
|
||||||
|
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
|
||||||
|
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
|
||||||
|
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
|
run: apt-get update
|
||||||
|
run: apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||||
-
|
-
|
||||||
name: Set up QEMU
|
name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
Loading…
Reference in a new issue