Skip to content

Commit 47a6855

Browse files
authored
Remove rootless docker build step (#29373)
1 parent e69f2ac commit 47a6855

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.github/workflows/test-go.yml

-24
Original file line numberDiff line numberDiff line change
@@ -357,30 +357,6 @@ jobs:
357357
}
358358
EOF
359359
sudo systemctl reload docker
360-
- name: Install rootless Docker
361-
# Enterprise repo runners do not allow sudo, so can't system packages there yet.
362-
if: github.repository != 'hashicorp/vault-enterprise'
363-
run: |
364-
sudo apt-get install -y uidmap dbus-user-session
365-
export FORCE_ROOTLESS_INSTALL=1
366-
curl -fsSL https://get.docker.com/rootless | sh
367-
mkdir -p ~/.config/docker/
368-
tee ~/.config/docker/daemon.json <<EOF
369-
{
370-
"runtimes": {
371-
"runsc": {
372-
"path": "/usr/local/bin/runsc",
373-
"runtimeArgs": [
374-
"--host-uds=create",
375-
"--ignore-cgroups"
376-
]
377-
}
378-
}
379-
}
380-
EOF
381-
systemctl --user restart docker
382-
# Ensure the original rootful Docker install is still the default.
383-
docker context use default
384360
- id: run-go-tests
385361
name: Run Go tests
386362
timeout-minutes: ${{ fromJSON(env.TIMEOUT_IN_MINUTES) }}

0 commit comments

Comments
 (0)