Browse Source

Remove relevant instructions

android-5
Wetitpig 6 years ago
committed by Fredrik Fornwall
parent
commit
708f47964a
  1. 8
      .gitlab-ci.yml
  2. 5
      scripts/run-docker.sh

8
.gitlab-ci.yml

@ -1,17 +1,9 @@
image: termux/package-builder:latest image: termux/package-builder:latest
variables:
ANDROID_HOME: "/home/builder/lib/android-sdk"
NDK: "/home/builder/lib/android-ndk"
stages: stages:
- build - build
- deploy - deploy
before_script:
- cp -a /home/builder/.android $HOME/.android
- chown -R $(id -u):$(id -g) $HOME/.android
## Common configuration for all build jobs. ## Common configuration for all build jobs.
.job_template: &build_job .job_template: &build_job
stage: build stage: build

5
scripts/run-docker.sh

@ -21,7 +21,6 @@ docker start $CONTAINER_NAME > /dev/null 2> /dev/null || {
echo "Creating new container..." echo "Creating new container..."
docker run \ docker run \
--detach \ --detach \
--env HOME=$HOME \
--name $CONTAINER_NAME \ --name $CONTAINER_NAME \
--volume $REPOROOT:$HOME/termux-packages \ --volume $REPOROOT:$HOME/termux-packages \
--tty \ --tty \
@ -39,9 +38,9 @@ docker start $CONTAINER_NAME > /dev/null 2> /dev/null || {
} }
if [ "$#" -eq "0" ]; then if [ "$#" -eq "0" ]; then
docker exec --interactive --tty --user $USER $CONTAINER_NAME bash docker exec --interactive --tty $CONTAINER_NAME bash
else else
docker exec --interactive --tty --user $USER $CONTAINER_NAME $@ docker exec --interactive --tty $CONTAINER_NAME $@
fi fi

Loading…
Cancel
Save