MobileDevOps / flutter-sdk-image

Docker image with Flutter SDK to build Android apps
https://hub.docker.com/r/mobiledevops/flutter-sdk-image/
MIT License
31 stars 32 forks source link

bundle: command not found #38

Open Islemtlb opened 5 months ago

Islemtlb commented 5 months ago

I started using mobiledevops docker image in gitlab-ci script as follows

`image: mobiledevops/flutter-sdk-image:3.16.4

variables:
ANDROID_COMPILE_SDK: "34" ANDROID_BUILD_TOOLS: "33.0.3" ANDROID_SDK_TOOLS: "31.3.13"

stages:

flutter_build_dev: stage: build before_script:

- flutter clean
- flutter packages get

script:

flutter_build_prod: stage: build before_script:

flutter_release_dev: stage: build image: mobiledevops/flutter-sdk-image:3.16.4 before_script:

flutter_release_prod: image : mobiledevops/flutter-sdk-image:3.16.4 stage: build before_script:

flutter_versionning_dev:

dependencies:

flutter_versionning_prod: dependencies:

update_gitlab_after_dev_release: stage: "push_gitlab" image : mobiledevops/flutter-sdk-image:3.16.4 dependencies:

update_gitlab_after_prod_release: stage: "push_gitlab" image : mobiledevops/flutter-sdk-image:3.16.4 dependencies:

Expected behaviour

pipeline should succeed

Actual behaviour

pipeline fails and I get this error :

$ cd android/ $ export BUNDLE_GENFILE=${pwd}/GemFile $ bundle install /scripts-55-24066/step_script: line 165: bundle: command not found

Cleaning up project directory and file based variables 00:00 ERROR: Job failed: command terminated with exit code 1 I tried few fixes but nothing worked for me could you include bundler in your dockerfile? or if there's any other solution I'll be grateful . Happy coding

system used