~aleteoryx/muditaos

ref: d4d0e7ec3487e64649f764c2bbcf5c25cf3c204d muditaos/config/daily_build_run_command -rw-r--r-- 578 bytes
d4d0e7ec — Tomasz Rybarski [BH-1222] Alarm Bottom Message Translations 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

#starting daily builder example
#please adjust paths to your needs

# this script has removed execution bits on purpose, please do not set them!

ARTEFACTS_LOCAL_DIR=$HOME/mudita/Artefacts
TOOLS_LOCAL_DIR=$HOME/mudita/PurePhone/tools
ENV_FILE=daily_build_environment
CONTAINER="wearemudita/mudita_os_builder:1.9"
WORK_DIR=$HOME/mudita/daily_build/


docker run -v ${ARTEFACTS_LOCAL_DIR}:/artefacts -v ${TOOLS_LOCAL_DIR}:/scripts -v ${WORK_DIR}:/workdir -w /workdir --user "$(id -u):$(id -g)" --env-file=$ENV_FILE --entrypoint /scripts/daily_release.sh ${CONTAINER}