Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build returns an error #153

Open
joseraeiro opened this issue Jul 12, 2022 · 4 comments
Open

docker build returns an error #153

joseraeiro opened this issue Jul 12, 2022 · 4 comments

Comments

@joseraeiro
Copy link

Hello, I was following the instructions on the README page and when I try to run:

sudo docker build -t eagle-eye .

It gives the following error at some point

E: Unable to locate package python3.6
E: Couldn't find any package by glob 'python3.6'
E: Couldn't find any package by regex 'python3.6'
E: Unable to locate package python3.6-dev
E: Couldn't find any package by glob 'python3.6-dev'
E: Couldn't find any package by regex 'python3.6-dev'
The command '/bin/sh -c 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' returned a non-zero code: 100

I do believe this is an issue related with the repository ppa:deadsnakes/ppa not being accessible. Not sure if this is temporary or not. I'll try later on and let you know if it worked.

@victor-souza1997
Copy link

i am having the same problem. Have you found a solution to it?

@joseraeiro
Copy link
Author

joseraeiro commented Jul 19, 2022

No, not really. I guess that it's a question of searching for a substitute repository which has Python 3.6 in it.

I saw a page on Stackoverflow but neither of the solutions there worked, so I created this bug issue.

Please, do let me know if you fixed the issue!

@r4lix
Copy link

r4lix commented Sep 9, 2022

deadsnake ppa and python 3.6 are EOL, better create a new dockerfile

@jd-rk9
Copy link

jd-rk9 commented Oct 23, 2022

I ran iinto the same issue and decided to build a more modern dockerfile this will build but won't solve other issues since the software isn't actively maintained anymore.

FROM debian:bullseye

RUN apt-get clean && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV TERM dumb
ENV PYTHONIOENCODING=utf-8

RUN apt update && apt upgrade -y
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-esr
RUN apt-get install -y git python3 python3-pip python3-dev

RUN git clone https://github.com/ThoughtfulDev/EagleEye
RUN cd EagleEye && pip3 install -r requirements.txt
RUN pip3 install --upgrade beautifulsoup4 html5lib spry

WORKDIR EagleEye
ADD https://github.com/mozilla/geckodriver/releases/download/v0.32.0/geckodriver-v0.32.0-linux64.tar.gz /EagleEye/geckodriver.tar.gz
RUN tar -xvf geckodriver.tar.gz
RUN mv geckodriver /usr/bin/geckodriver
RUN chmod +x /usr/bin/geckodriver
RUN rm -r /EagleEye/known/
ENTRYPOINT bash /entry.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants