Skip to content

🐳 Docker image for building Ionic apps with Cordova.

License

Notifications You must be signed in to change notification settings

robingenz/docker-ionic-cordova

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-ionic-cordova

Docker image for building Ionic apps with Cordova.

How to use this image

Build image

Build from GitHub:

docker build -t robingenz/ionic-cordova github.com/robingenz/docker-ionic-cordova

Available build arguments:

  • JAVA_VERSION
  • NODEJS_VERSION
  • ANDROID_SDK_VERSION
  • ANDROID_BUILD_TOOLS_VERSION
  • IONIC_CLI_VERSION
  • CORDOVA_CLI_VERSION

Run image

Run the docker image:

docker run -it robingenz/ionic-cordova

CI Configuration

GitLab

Here is a sample .gitlab-ci.yml file:

image: robingenz/ionic-cordova

stages:
    - build

build_android:
    stage: build
    cache:
        paths:
            - node_modules/
            - plugins/
    script:
        - npm ci
        - ionic cordova build android
    artifacts:
        paths:
            - platforms/android/app/build/outputs/apk/debug

Questions / Issues

If you got any questions or problems using the image, please visit my GitHub Repository and write an issue.

About

🐳 Docker image for building Ionic apps with Cordova.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published