Martchus
b7fb618581
* Use `--userns` to become `builduser` right away instead of using `sudo` to become `builduser` * Add `builduser` to `sudoers` so it can become root to synchronize packages * Ensure this way that files created within the container have the user/group of the user starting the container so build artifacts have the right ownership
5 lines
158 B
Bash
5 lines
158 B
Bash
#!/bin/bash
|
|
set -e
|
|
export LOGDEST=$PWD SRCPKGDEST=$PWD SRCDEST=$PWD PKGDEST=$PWD BUILDDIR=/build
|
|
export BUILDTOOL=makecontainerbuild BUILDTOOLVER="0.0.1"
|
|
exec |