echo @testing https://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories
echo @testing https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
apk add --no-cache buildah@testing crun

adduser -h /buildah -g 'build it!' -s /bin/nologin -k /var/empty buildah -D

echo buildah:1001:9999 >/etc/subuid
echo buildah:1001:9999 >/etc/subgid

install -o buildah -g buildah -m 00700 -d /buildah/.local
install -o buildah -g buildah -m 00700 -d /buildah/.local/share
install -o buildah -g buildah -m 00700 -d /buildah/.local/share/containers
ln -s .local/share/containers /buildah/

echo @testing https://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories
echo @testing https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
apk add --no-cache buildah@testing crun

adduser -h /buildah -g 'build it!' -s /bin/nologin -k /var/empty buildah -D

echo buildah:1001:9999 >/etc/subuid
echo buildah:1001:9999 >/etc/subgid

install -o buildah -g buildah -m 00700 -d /buildah/.config
install -o buildah -g buildah -m 00700 -d /buildah/.local
install -o buildah -g buildah -m 00700 -d /buildah/.local/share
install -o buildah -g buildah -m 00700 -d /buildah/.local/share/containers
ln -s .local/share/containers /buildah/

Fix permissions for `~/.config` directory
[buildah] Fix permissions for `~/.config` directory
