Install Docker CLI without sudo in the CI image job.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
db1341e40f
commit
46acb08b93
1 file changed
+4
-1
@@ -51,8 +51,11 @@ jobs:
|
||||
|
||||
- name: Install Docker CLI
|
||||
run: |
|
||||
mkdir -p "$HOME/.local/bin"
|
||||
curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-27.5.1.tgz \
|
||||
| sudo tar xz --strip-components=1 -C /usr/local/bin docker/docker
|
||||
| tar xz --strip-components=1 -C "$HOME/.local/bin" docker/docker
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
for i in $(seq 1 60); do
|
||||
if docker info >/dev/null 2>&1; then
|
||||
docker version
|
||||
|
||||
Reference in new issue
Block a user