Stop hosts-leaking into the container
This commit is contained in:
parent
cf5162ba15
commit
d28a0fc25e
@ -17,6 +17,8 @@ LOGDIR="${LOGDIR:-$(pwd)/logs}"
|
||||
DOCKER_FILE="${DOCKER_FILE:-$(pwd)/Dockerfile}"
|
||||
|
||||
podman_build_args=(
|
||||
# Do not leak the host's /etc/host into the container.
|
||||
--no-hosts
|
||||
# Limit the memory to be used.
|
||||
--memory=20G
|
||||
--memory-swap=1G
|
||||
|
@ -17,6 +17,8 @@ LOGDIR="${LOGDIR:-$(pwd)/logs}"
|
||||
PACKAGE_USE="${PACKAGE_USE:-$(pwd)/package.use}"
|
||||
|
||||
podman_build_args=(
|
||||
# Do not leak the host's /etc/host into the container.
|
||||
--no-hosts
|
||||
# Remove the container after usage.
|
||||
--rm
|
||||
# Allow interactive questsions by portage
|
||||
|
Reference in New Issue
Block a user