Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it Possible to Install Firefox in Pipeline with Maven 3.6.3 Image


Hello, I am trying to run Selenium tests in a pipeline. It is using Maven 3.6.3 as its Docker image.

Firefox needs to be installed before I can run Selenium. However, when trying to install it with:

rpm -i firefox

I get

error: open of firefox failed: No such file or directory

I have seen , which suggests using a different Docker image with Firefox already installed.


I would like to avoid doing it this way if possible, because I am not super familiar with Docker. Is there a way for me to install Firefox in my pipeline without using a different Docker image?

Here is the yaml:

# Template maven-build
# This template allows you to test and build your Java project with Maven.# The workflow allows running tests, code checkstyle and security scans on the default branch.
# Prerequisites: pom.xml and appropriate project structure should exist in the repository.
image: maven:3.6.3
pipelines: default:
step: name: 'Install Firefox'
rpm -i firefox
step: name: Build and Test
mvn -B verify --file pom.xml
# Collect checkstyle results, if any, and convert to Bitbucket Code Insights.
pipe: atlassian/checkstyle-report:0.2.0
step: name: Security Scan script: # Run a security scan for sensitive data. # See more security tools at
pipe: atlassian/git-secrets-scan:0.4.3

Thank you. Any help is appreciated.


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

233 views 2 5
Read article

Community Events

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

Events near you