If you are looking to have a separate container to run your Apache server or any other type of service, then you could use the service containersfeature. ![]() This means that any entry point or command you have defined in the docker image will not be taken into account. When starting this build container, pipelines will force the entry point to be a terminal instance of /bin/sh, where the commands you defined in the step's script will be executed. Just to bring some context, when a pipeline is triggered in bitbucket, a build container is created based on the docker image you have defined in the step. Thank you for reaching out to Atlassian Community! aws/install -i /usr /local /aws-cli -b /usr /local /bin RUN ln -s /usr /bin /python3 /usr /bin /python RUN composer -verbose self-update -stable RUN curl -sS | php -filename=composer -install-dir= /usr /bin RUN update-alternatives -set php /usr /bin /php8. # Replace shell with bash so we can source files and install packages.Īpt-get install -yq software-properties-common & \Īdd-apt-repository -y ppa:ondrej /php & \ Here is the custom image: FROM ubuntu: 22.04 That results in this error: curl: (7) Failed to connect to 127.0.0.1 port 443 after 0 ms: Connection refused To test the connection to the apache server I have my pipeline set up like this right now: pipelines: I was getting errors when building around connecting to the Drupal site. To build the NextJS site, the Drupal site needs to be running and available at port 443. ![]() This repository serves as a starting point for future projects so there is no other environment that this gets tested in (IE no production). ![]() One of those tests is to build a NextJS site with a Drupal CMS as the backend. I have a pipeline where I need to run a handful of different tests.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |