I have had a bitbucket pipeline setup which had been working flawlessly for a year yet it stopped working few days ago
Here is the beginning of my bitbucket config
- echo "This script runs on all branches that don't have any specific pipeline assigned in 'branches'."
- apt-get update
- apt-get install -y software-properties-common python-software-properties
- add-apt-repository -y ppa:ondrej/php
- apt-get update
- apt-get install -y php7.2 php7.2-cli php7.2-common php7.2-mbstring
- apt-get install -y php7.2-curl php7.2-xml
Now I keep getting the following error (that has not happened before):
+ apt-get install -y php7.2 php7.2-cli php7.2-common php7.2-mbstring
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php7.2
E: Couldn't find any package by regex 'php7.2'
E: Unable to locate package php7.2-cli
E: Couldn't find any package by regex 'php7.2-cli'
E: Unable to locate package php7.2-common
E: Couldn't find any package by regex 'php7.2-common'
E: Unable to locate package php7.2-mbstring
E: Couldn't find any package by regex 'php7.2-mbstring'
I could not find any changes on the docker image end and ondrej's repo seems to still contain the packages. What could be the problem?
Just adding to this issue.
Since today, I'm starting to have root CA certs that are not trusted by default by Ubuntu 16.04. At that point, instead of installing new certs I just went ahead and took your Dockerfile for atlassian/default-image:2 and tweaked it a bit to fit Ubuntu 20.04.
That being said, having a real image maintained by Atlassian would be very nice.
Hi @Deniss Surnin,
The image atlassian/default-image:2 uses Ubuntu 16.04. I found out that this version has reached its end of standard support, which is the reason why php packages from https://launchpad.net/~ondrej/+archive/ubuntu/php are no longer available.
I'm afraid that we don't have an ETA on whether this image will be upgraded with a newer version of Ubuntu or if a new image will be set up.
Our recommendation would be to either use a different Docker image with a newer version of Ubuntu or set up your own Docker image.
If you use a Docker image that has php pre-installed, or create a Docker image with all the dependencies you need, you could also save running costs by not having to install the dependencies every time this step runs.
If you have any questions, please feel free to let me know.
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events