proot-alpine/alpine-start
2022-05-01 19:38:18 +00:00

18 lines
327 B
Bash
Executable File

#!/bin/sh
unset LD_PRELOAD
ROOTFS=/home/user/Alpine
exec proot-v5.3.0-x86_64-static --kill-on-exit -r $ROOTFS --root-id \
--cwd=/root \
-b /dev/ \
-b /sys/ \
-b /proc/ \
-w / \
/usr/bin/env -i \
TMPDIR=/tmp \
HOME=/root \
TERM="xterm-256color" \
LANG=C.UTF-8 \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/sh --login