mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
8 lines
370 B
Bash
Executable File
8 lines
370 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# from https://android.googlesource.com/platform/build/+/master/tools/docker
|
|
# Copy your host gitconfig, or create a stripped down version
|
|
cp ~/.gitconfig gitconfig || cp $XDG_CONFIG_HOME/git/config gitconfig
|
|
podman build --build-arg userid=$(id -u) --build-arg groupid=$(id -g) --build-arg username=$(id -un) -t android-build-fedora .
|
|
rm gitconfig
|