mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-24 00:12:08 +00:00
Install docker manually.
This commit is contained in:
parent
05aef4dd1a
commit
e36887cbf5
15
.github/workflows/build.yaml
vendored
15
.github/workflows/build.yaml
vendored
@ -76,6 +76,21 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
- name: Install docker
|
||||||
|
run: sudo apt-get update
|
||||||
|
| sudo apt-get install ca-certificates curl
|
||||||
|
| sudo install -m 0755 -d /etc/apt/keyrings
|
||||||
|
| sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
||||||
|
| sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||||
|
| # Add the repository to Apt sources:
|
||||||
|
| echo \
|
||||||
|
| "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
|
||||||
|
| $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
|
||||||
|
| sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
|
| sudo apt-get update
|
||||||
|
| sudo apt-get install docker-ce docker-ce-cli containerd.io
|
||||||
|
with:
|
||||||
|
install: true
|
||||||
- name: Initialize Docker Buildx
|
- name: Initialize Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3.0.0
|
uses: docker/setup-buildx-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user