Hi,
i want to use pip in my bitbucket pipeline to install fabric and deploy my php application. According to this article it is possible to cache pip as a dependency. Can you tell me what I'm doing wrong?
Here is my pipelines.yml file:
pipelines:
default:
- step:
name: Deploy to production
deployment: production
caches:
- pip
script:
- pip -v
Following error gets thrown on the deploy:
+ pip -v
bash: pip: command not found
Thank you very much for your help!
What base image are you using? You may need to specify one that already has pip (and whatever other Python utilities you might need) installed.
i have no image specified, i think it's the default-image from bitbucket.
Could you tell me how to find such an image? Maybe it's possible to create an own image?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://confluence.atlassian.com/bitbucket/use-docker-images-as-build-environments-792298897.html has documentation on this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.