You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
224 B
17 lines
224 B
9 years ago
|
#!/bin/sh
|
||
|
|
||
|
set -eu
|
||
|
|
||
|
TAG="$USER/alpine-sdk"
|
||
|
|
||
|
mkdir -p ~/docker-run-cache/$USER
|
||
|
|
||
|
set --
|
||
|
# capabilities
|
||
|
for x in SYS_ADMIN SYS_CHROOT SYS_PTRACE FOWNER; do
|
||
|
set -- "$@" --cap-add $x
|
||
|
done
|
||
|
|
||
|
set -x
|
||
|
exec docker run -it "$@" "$TAG"
|