diff --git a/Dockerfile b/Dockerfile index b8150959..507d9596 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ ENV ANDROID_APIS="android-30" \ NPM_VERSION="latest" \ IONIC_VERSION="^6.0.0" \ CORDOVA_VERSION="^10.0.0" \ + CORDOVA_RES_VERSION="latest" \ ### Configure download URLs 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" \ @@ -102,7 +103,7 @@ RUN bash /tmp/$NODE_SETUP_SCRIPT && apt-get install -y nodejs && \ ### Update npm to latest version npm install -g npm@$NPM_VERSION && \ ### 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 RUN cordova create tmp-project && \