Skip to content

Commit

Permalink
Fix issue ThoughtfulDev#163 docker troubles
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Parshin committed Jan 12, 2025
1 parent bcd580b commit 2e0fe96
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:16.04
FROM ubuntu:22.04

RUN apt-get clean && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales
RUN locale-gen en_US.UTF-8
Expand All @@ -10,14 +10,14 @@ ENV PYTHONIOENCODING=utf-8

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git curl software-properties-common unzip
RUN apt-get update && add-apt-repository -y ppa:deadsnakes/ppa && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3.6 python3.6-dev
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.6
RUN apt-get update && add-apt-repository -y ppa:deadsnakes/ppa && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3.8 python3.8-dev python3.8-distutils
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.8
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libgtk-3-dev libboost-all-dev build-essential cmake libffi-dev
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y firefox
RUN git clone https://github.com/ThoughtfulDev/EagleEye
WORKDIR EagleEye
RUN pip3.6 install -r requirements.txt
RUN pip3.6 install --upgrade beautifulsoup4 html5lib spry
RUN pip3.8 install -r requirements.txt
RUN pip3.8 install --upgrade beautifulsoup4 html5lib spry
ADD https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux64.tar.gz /EagleEye/geckodriver.tar.gz
RUN tar -xvf geckodriver.tar.gz
RUN mv geckodriver /usr/bin/geckodriver
Expand Down

0 comments on commit 2e0fe96

Please sign in to comment.