Files
wunker-os/files/scripts/setup-selinux-dockersock.sh
Gerald Pinder 29b9627660 Move to files/
2024-04-16 17:06:59 -04:00

15 lines
265 B
Bash

#!/usr/bin/env bash
# https://docs.gitlab.com/runner/install/docker.html#selinux
set -euo pipefail
git clone https://github.com/dpw/selinux-dockersock.git /tmp/selinux-dockersock
pushd /tmp/selinux-dockersock
make dockersock.pp
semodule -i dockersock.pp
popd