File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# FROM debian:jessie-slim
22FROM ubuntu:18.04
33
4- RUN apt-get --allow-unauthenticated update && \
5- apt-get install -y --allow-unauthenticated \
4+ RUN apt-get update && \
5+ apt-get install -y \
66 wget \
77 curl \
88 python \
@@ -35,8 +35,8 @@ RUN apt-get --allow-unauthenticated update && \
3535 add-apt-repository -y 'deb https://deb.opera.com/opera-beta/ stable non-free' && \
3636 add-apt-repository -y 'deb https://deb.opera.com/opera-developer/ stable non-free' && \
3737# Install browsers
38- apt-get --allow-unauthenticated update && \
39- DEBIAN_FRONTEND=noninteractive apt-get install -yq --allow-unauthenticated \
38+ apt-get update && \
39+ DEBIAN_FRONTEND=noninteractive apt-get install -yq \
4040 google-chrome-stable \
4141 google-chrome-beta \
4242 google-chrome-unstable \
@@ -48,7 +48,7 @@ RUN apt-get --allow-unauthenticated update && \
4848 nodejs && \
4949# Get fonts
5050 echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \
51- sudo DEBIAN_FRONTEND=noninteractive apt-get -y --allow-unauthenticated install ttf-mscorefonts-installer fonts-noto* && \
51+ sudo DEBIAN_FRONTEND=noninteractive apt-get -y install ttf-mscorefonts-installer fonts-noto* && \
5252 sudo fc-cache -f -v && \
5353# Cleaup to save space in layer
5454 sudo apt-get clean && \
Original file line number Diff line number Diff line change 11#! /bin/bash
2- until sudo apt-get --allow-unauthenticated update
2+ until sudo apt-get update
33do
44 sleep 1
55done
6- until sudo apt-get install -y --allow-unauthenticated python2.7 python-pip imagemagick ffmpeg xvfb dbus-x11 cgroup-tools traceroute software-properties-common psmisc libnss3-tools iproute2 net-tools
6+ until sudo apt-get install -y python2.7 python-pip imagemagick ffmpeg xvfb dbus-x11 cgroup-tools traceroute software-properties-common psmisc libnss3-tools iproute2 net-tools
77do
88 sleep 1
99done
1010# Unavailable on Ubuntu 18.04 but needed on earlier releases
11- sudo apt-get install -y --allow-unauthenticated python-software-properties
11+ sudo apt-get install -y python-software-properties
1212sudo dbus-uuidgen --ensure
1313until sudo pip install dnspython monotonic pillow psutil requests ujson tornado wsaccel xvfbwrapper marionette_driver
1414do
1515 sleep 1
1616done
1717curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
18- until sudo apt-get install -y --allow-unauthenticated nodejs
18+ until sudo apt-get install -y nodejs
1919do
2020 sleep 1
2121done
@@ -32,8 +32,8 @@ wget -qO- https://deb.opera.com/archive.key | sudo apt-key add -
3232sudo add-apt-repository -y ' deb https://deb.opera.com/opera-stable/ stable non-free'
3333sudo add-apt-repository -y ' deb https://deb.opera.com/opera-beta/ stable non-free'
3434sudo add-apt-repository -y ' deb https://deb.opera.com/opera-developer/ stable non-free'
35- sudo apt-get --allow-unauthenticated update
36- until sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq --allow-unauthenticated google-chrome-stable google-chrome-beta google-chrome-unstable firefox firefox-trunk firefox-esr opera-stable opera-beta opera-developer
35+ sudo apt-get update
36+ until sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq google-chrome-stable google-chrome-beta google-chrome-unstable firefox firefox-trunk firefox-esr opera-stable opera-beta opera-developer
3737do
3838 sleep 1
3939done
You can’t perform that action at this time.
0 commit comments