This will build a docker container with anopa
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.
|
#!/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"
|
|
|