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 from Ubuntu 19.04 base image Error #312

Closed
duncanmichel-resolvn opened this issue Jun 10, 2021 · 1 comment
Closed

Docker build from Ubuntu 19.04 base image Error #312

duncanmichel-resolvn opened this issue Jun 10, 2021 · 1 comment
Assignees
Labels
bug Something isn't working Points: 2 2 agile story points timescale/imminent Ready to be assigned to developers
Milestone

Kommentare

@duncanmichel-resolvn
Copy link

duncanmichel-resolvn commented Jun 10, 2021

Building from Dockerfile as currently written creates the following error during build phase:

Step 11/15 : RUN apt-get update --fix-missing   && apt-get install -qqy --no-install-recommends   locales nano sudo git pelican apt-transport-https ca-certificates python3-pip python3-setuptools   && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen   && locale-gen   && update-ca-certificates   && python3 -m pip install wheel   && cd /home/attackuser   && cd /home/attackuser/attack-website   && python3 -m pip install -r requirements.txt
 
---> Running in e798bb214af4

Ign:1 http://security.ubuntu.com/ubuntu eoan-security InRelease

Err:2 http://security.ubuntu.com/ubuntu eoan-security Release
  404  Not Found [IP: 91.189.91.39 80]

Ign:3 http://archive.ubuntu.com/ubuntu eoan InRelease

Ign:4 http://archive.ubuntu.com/ubuntu eoan-updates InRelease

Ign:5 http://archive.ubuntu.com/ubuntu eoan-backports InRelease

Err:6 http://archive.ubuntu.com/ubuntu eoan Release
  404  Not Found [IP: 91.189.88.152 80]

Err:7 http://archive.ubuntu.com/ubuntu eoan-updates Release
  404  Not Found [IP: 91.189.88.152 80]

Err:8 http://archive.ubuntu.com/ubuntu eoan-backports Release
  404  Not Found [IP: 91.189.88.152 80]

Reading package lists...

E: The repository 'http://security.ubuntu.com/ubuntu eoan-security Release' does not have a Release file.

E: The repository 'http://archive.ubuntu.com/ubuntu eoan Release' does not have a Release file.

E: The repository 'http://archive.ubuntu.com/ubuntu eoan-updates Release' does not have a Release file.

E: The repository 'http://archive.ubuntu.com/ubuntu eoan-backports Release' does not have a Release file.

The command '/bin/sh -c apt-get update --fix-missing   && apt-get install -qqy --no-install-recommends   locales nano sudo git pelican apt-transport-https ca-certificates python3-pip python3-setuptools   && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen   && locale-gen   && update-ca-certificates   && python3 -m pip install wheel   && cd /home/attackuser   && cd /home/attackuser/attack-website   && python3 -m pip install -r requirements.txt' returned a non-zero code: 100

Likely reason:
Ubuntu 19.04 has reached End of Life and those repositories are moved from http://archive.ubuntu.com to http://old-releases.ubuntu.com.

Suggestion:
Update Dockerfile to build from a stable, supported version of Ubuntu

@isaisabel isaisabel added the bug Something isn't working label Jun 16, 2021
@isaisabel isaisabel added this to the Version 3.3 milestone Jun 16, 2021
@isaisabel isaisabel added the timescale/imminent Ready to be assigned to developers label Jun 16, 2021
@isaisabel isaisabel added the Points: 2 2 agile story points label Jun 24, 2021
@IanDavila IanDavila self-assigned this Jun 24, 2021
@isaisabel
Copy link
Contributor

This has been fixed on develop and will be released to master with version 3.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Points: 2 2 agile story points timescale/imminent Ready to be assigned to developers
Projects
None yet
Development

No branches or pull requests

3 participants