mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-23 02:22:46 +07:00
Bump to next branch
Host: Ubuntu 21.04
This commit is contained in:
6
external/config/templates/config-docker.conf
vendored
6
external/config/templates/config-docker.conf
vendored
@@ -43,7 +43,7 @@ DOCKER_FLAGS+=(--security-opt=apparmor:unconfined)
|
||||
|
||||
# remove resulting container after exit to minimize clutter
|
||||
# bad side effect - named volumes are considered not attached to anything and are removed on "docker volume prune"
|
||||
#DOCKER_FLAGS+=(--rm)
|
||||
DOCKER_FLAGS+=(--rm)
|
||||
|
||||
# pass through loop devices
|
||||
for d in /dev/loop*; do
|
||||
@@ -106,10 +106,10 @@ If you prefer to use profile, for example, `userpatches/config-my.conf`, try:
|
||||
./compile.sh my compile_uboot
|
||||
|
||||
EOF
|
||||
docker run "${DOCKER_FLAGS[@]}" -it --rm --entrypoint /usr/bin/env armbian:$VERSION "$@" /bin/bash
|
||||
docker run "${DOCKER_FLAGS[@]}" -it --entrypoint /usr/bin/env armbian:$VERSION "$@" /bin/bash
|
||||
else
|
||||
display_alert "Running the container" "" "info"
|
||||
docker run "${DOCKER_FLAGS[@]}" -it --rm armbian:$VERSION "$@"
|
||||
docker run "${DOCKER_FLAGS[@]}" -it armbian:$VERSION "$@"
|
||||
fi
|
||||
|
||||
# Docker error treatment
|
||||
|
||||
Reference in New Issue
Block a user