mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-21 23:53:24 +01:00
18 lines
400 B
Plaintext
18 lines
400 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
. builder/os_ver_cli.sh
|
||
|
|
||
|
cd "$(dirname "$0")/.."
|
||
|
|
||
|
docker build -t kasmvnc_apkbuilder_${os}:${os_codename} -f \
|
||
|
builder/dockerfile.${os}_${os_codename}.apk.build .
|
||
|
|
||
|
source_dir=$(echo $PWD)
|
||
|
L_UID=$(id -u)
|
||
|
L_GID=$(id -g)
|
||
|
docker run --rm -v "$source_dir":/src --user $L_UID:$L_GID \
|
||
|
kasmvnc_apkbuilder_${os}:${os_codename} /bin/bash -c \
|
||
|
'/src/builder/build-apk-inside-docker'
|