Skip to content

Docker build from Ubuntu 19.04 base image Error #312

Description

@duncanmichel-resolvn

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

Metadata

Metadata

Assignees

Labels

Points: 22 agile story pointsbugSomething isn't workingtimescale/imminentReady to be assigned to developers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions