mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
Container: Portable scripts
This allows bash to be found if not located in /bin.
This commit is contained in:
parent
4d22f558ba
commit
41bc2deded
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# from https://android.googlesource.com/platform/build/+/master/tools/docker
|
||||
# Copy your host gitconfig, or create a stripped down version
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# from https://android.googlesource.com/platform/build/+/master/tools/docker
|
||||
# Copy your host gitconfig, or create a stripped down version
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
mkdir -p $1 $2
|
||||
docker run -it --rm -v $1:/home/$(id -un)/android -v $2:/home/$(id -un)/.ccache android-build-fedora
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
mkdir -p $1 $2
|
||||
podman run -it --rm --user=$(id -un) --workdir="/home/$(id -un)" --entrypoint="/bin/bash" -v $1:/home/$(id -un)/android -v $2:/home/$(id -un)/.ccache android-build-fedora
|
||||
|
Loading…
Reference in New Issue
Block a user