Skip to content

Commit

Permalink
feat(core): use Xenial as base image && modify the usage of apt-get c…
Browse files Browse the repository at this point in the history
…ommand
  • Loading branch information
dimmg committed Apr 23, 2018
1 parent 66e1aca commit ab9b555
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
FROM ubuntu:trusty
FROM ubuntu:xenial

RUN apt-get update

RUN apt-get install -y python3 python3-pip

RUN apt-get install -y libgconf2-4 libnss3-1d libxss1
RUN apt-get install -y fonts-liberation libappindicator1 xdg-utils

RUN apt-get install -y software-properties-common
RUN apt-get install -y curl unzip wget

RUN apt-get install -y xvfb
RUN apt-get update && apt-get install -y \
python3 python3-pip \
libgconf2-4 libnss3-1d libxss1 \
fonts-liberation libappindicator1 xdg-utils \
software-properties-common \
curl unzip wget \
xvfb


# install geckodriver and firefox
Expand All @@ -21,8 +17,7 @@ RUN GECKODRIVER_VERSION=`curl https://github.com/mozilla/geckodriver/releases/la
chmod +x /usr/local/bin/geckodriver

RUN add-apt-repository -y ppa:ubuntu-mozilla-daily/ppa
RUN apt-get update -y
RUN apt-get install -y firefox
RUN apt-get update && apt-get install -y firefox


# install chromedriver and google-chrome
Expand Down

0 comments on commit ab9b555

Please sign in to comment.