Quantcast
Channel: Active questions tagged dockerfile - DevOps Stack Exchange
Viewing all articles
Browse latest Browse all 136

Intermittent Firefox Installation Failure in Docker CI

$
0
0

I have a docker image to install firefox, that runs as expected locally but fails intermittently on CI. Firefox doesn't get installed, this is what I am doing.

FROM node:20RUN wget -O firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US" --no-check-certificateRUN tar -xvf firefox.tar.bz2RUN sudo mv firefox/* /usr/bin/

Jenkinsfile looks like this, no extra arguments

def dockerImage = docker.build("build-image:${env.BUILD_ID}", "--build-arg DOCKER_UNAME=${env.DOCKER_UNAME} --build-arg DOCKER_UID=${env.DOCKER_UID} --build-arg DOCKER_GID=${env.DOCKER_GID} -f Dockerfile .")

Viewing all articles
Browse latest Browse all 136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>