mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 17:42:57 +00:00
build: add cordova resources tool
This commit is contained in:
@@ -11,6 +11,7 @@ ENV ANDROID_APIS="android-30" \
|
|||||||
NPM_VERSION="latest" \
|
NPM_VERSION="latest" \
|
||||||
IONIC_VERSION="^6.0.0" \
|
IONIC_VERSION="^6.0.0" \
|
||||||
CORDOVA_VERSION="^10.0.0" \
|
CORDOVA_VERSION="^10.0.0" \
|
||||||
|
CORDOVA_RES_VERSION="latest" \
|
||||||
### Configure download URLs
|
### Configure download URLs
|
||||||
ANDROID_SDK_TOOLS_DOWNLOAD_URL="https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip" \
|
ANDROID_SDK_TOOLS_DOWNLOAD_URL="https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip" \
|
||||||
GOOGLE_SIGNING_KEY_URL="https://dl-ssl.google.com/linux/linux_signing_key.pub" \
|
GOOGLE_SIGNING_KEY_URL="https://dl-ssl.google.com/linux/linux_signing_key.pub" \
|
||||||
@@ -102,7 +103,7 @@ RUN bash /tmp/$NODE_SETUP_SCRIPT && apt-get install -y nodejs && \
|
|||||||
### Update npm to latest version
|
### Update npm to latest version
|
||||||
npm install -g npm@$NPM_VERSION && \
|
npm install -g npm@$NPM_VERSION && \
|
||||||
### Install needed npm packages
|
### Install needed npm packages
|
||||||
npm install -g @ionic/cli@$IONIC_VERSION cordova@$CORDOVA_VERSION
|
npm install -g @ionic/cli@$IONIC_VERSION cordova@$CORDOVA_VERSION cordova-res@$CORDOVA_RES_VERSION
|
||||||
|
|
||||||
### Create, build, delete an empty cordova project to download necessary maven files and keep them in image
|
### Create, build, delete an empty cordova project to download necessary maven files and keep them in image
|
||||||
RUN cordova create tmp-project && \
|
RUN cordova create tmp-project && \
|
||||||
|
|||||||
Reference in New Issue
Block a user