GithubHelp home page GithubHelp logo

darylsze / dockerfile-android-sdk25-jdk8 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

IMPORTANT! This dockerfile maintenance is discontinued! While the script is still valid and worth for a reference.

dockerfile-android-sdk25-jdk8's Introduction

Dockerfile-Android-SDK25-JDK8

usage - copy this file to android project root directory

# pull the docker image from docker hub
image: darylsze/android-sdk25-jdk8

build:
  stage: build
  variables:
    ANDROID_HOME: "/opt/android-sdk-linux"

  before_script:
  # define sdk location and accept all license which docker image missed.
    - apt-get --quiet install --yes curl
    - mkdir -p "${ANDROID_HOME}/licenses"
    - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "${ANDROID_HOME}/licenses/android-sdk-license"
    - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "${ANDROID_HOME}/licenses/android-sdk-preview-license"
    - echo -e "\nd975f751698a77b662f1254ddbeed3901e976f5a" > "${ANDROID_HOME}/licenses/intel-android-extra-license"
    - export ANDROID_HOME=${ANDROID_HOME}
    - export PATH=$PATH:${ANDROID_HOME}
    - chmod +x ./gradlew
  script:
  # build
    - ./gradlew assemble --stacktrace
  tags:
  # with usage of docker runner
    - docker
  artifacts:
    paths:
    - app/build/outputs/
  #  trigger on master or tag with prefix 'release-'
  only:
      - master
      - /^release-.*$/

dockerfile-android-sdk25-jdk8's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.