Build sometimes fails while installing chromedriver in Dockerfile

My project ID is 04c2df39-c3b5-4186-9cac-c6d0b06cae8f This issue only happens sometimes, and I don't change the code in the Dockerfile between commits. The full error is:
executor failed running [/bin/sh -c apt-get update && apt-get install -y xvfb gnupg wget curl unzip --no-install-recommends && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list && apt-get update -y && apt-get install -y google-chrome-stable && CHROMEVER=$(google-chrome --product-version | grep -o "[^\.]*\.[^\.]*\.[^\.]*") && DRIVERVER=$(curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROMEVER") && wget -q --continue -P /chromedriver "http://chromedriver.storage.googleapis.com/$DRIVERVER/chromedriver_linux64.zip" && unzip /chromedriver/chromedriver* -d /chromedriver]: exit code: 100
executor failed running [/bin/sh -c apt-get update && apt-get install -y xvfb gnupg wget curl unzip --no-install-recommends && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list && apt-get update -y && apt-get install -y google-chrome-stable && CHROMEVER=$(google-chrome --product-version | grep -o "[^\.]*\.[^\.]*\.[^\.]*") && DRIVERVER=$(curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROMEVER") && wget -q --continue -P /chromedriver "http://chromedriver.storage.googleapis.com/$DRIVERVER/chromedriver_linux64.zip" && unzip /chromedriver/chromedriver* -d /chromedriver]: exit code: 100
4 Replies
angelo
angelo3y ago
Oooo, seems to be possibly a network error on our part...
aLEGEND
aLEGENDOP3y ago
Alright
angelo
angelo3y ago
yep It turns out this means that for some reason the cached software sources lists have been corrupted. Very strange, will log it to the team
aLEGEND
aLEGENDOP3y ago
Ok, thank you
Want results from more Discord servers?
Add your server