mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-24 17:14:01 +01:00
18 lines
400 B
Bash
Executable File
18 lines
400 B
Bash
Executable File
#!/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'
|