mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-16 03:14:35 -05:00
8 lines
318 B
Bash
8 lines
318 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# from https://android.googlesource.com/platform/build/+/master/tools/docker
|
||
|
# Copy your host gitconfig, or create a stripped down version
|
||
|
cp ~/.gitconfig gitconfig
|
||
|
docker build --build-arg userid=$(id -u) --build-arg groupid=$(id -g) --build-arg username=$(id -un) -t android-build-fedora .
|
||
|
rm gitconfig
|