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

Build image failed as Ubuntu 21.04 (Hirsute Hippo) reaches End of Life #43

Open
yeahdongcn opened this issue Dec 22, 2022 · 0 comments · May be fixed by #44
Open

Build image failed as Ubuntu 21.04 (Hirsute Hippo) reaches End of Life #43

yeahdongcn opened this issue Dec 22, 2022 · 0 comments · May be fixed by #44

Comments

@yeahdongcn
Copy link

Ubuntu 21.04 (Hirsute Hippo) reaches End of Life on January 20 2022
https://fridge.ubuntu.com/2022/01/21/ubuntu-21-04-hirsute-hippo-end-of-life-reached-on-january-20-2022/

The base image in the Dockerfile needs to be updated.

Expected Behaviour

croc:latest can be built successfully.

Current Behaviour

❯ docker build -t croc .
Sending build context to Docker daemon  384.5kB
Step 1/10 : FROM ubuntu:hirsute-20210723
 ---> bf70ebd2c444
Step 2/10 : RUN apt-get update  && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends    ansible=2.10.7-1    git=1:2.30.2-1ubuntu1    qemu-kvm    qemu-utils    unzip=6.0-26ubuntu1    xorriso=1.5.2-1    curl    jq=1.6-2.1ubuntu1  && apt-get clean  && rm -rf /var/lib/apt/lists/*
 ---> Running in 5d8c9e07d2fd
Ign:1 http://archive.ubuntu.com/ubuntu hirsute InRelease
Ign:2 http://security.ubuntu.com/ubuntu hirsute-security InRelease
Ign:3 http://archive.ubuntu.com/ubuntu hirsute-updates InRelease
Err:4 http://security.ubuntu.com/ubuntu hirsute-security Release
  404  Not Found [IP: 185.125.190.36 80]
Ign:5 http://archive.ubuntu.com/ubuntu hirsute-backports InRelease
Err:6 http://archive.ubuntu.com/ubuntu hirsute Release
  404  Not Found [IP: 91.189.91.38 80]
Err:7 http://archive.ubuntu.com/ubuntu hirsute-updates Release
  404  Not Found [IP: 91.189.91.38 80]
Err:8 http://archive.ubuntu.com/ubuntu hirsute-backports Release
  404  Not Found [IP: 91.189.91.38 80]
Reading package lists...
E: The repository 'http://security.ubuntu.com/ubuntu hirsute-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu hirsute Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu hirsute-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu hirsute-backports Release' does not have a Release file.
The command '/bin/sh -c apt-get update  && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends    ansible=2.10.7-1    git=1:2.30.2-1ubuntu1    qemu-kvm    qemu-utils    unzip=6.0-26ubuntu1    xorriso=1.5.2-1    curl    jq=1.6-2.1ubuntu1  && apt-get clean  && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

Possible Solution

Steps to Reproduce (for bugs)

  1. docker build -t croc .

Context

Your Environment

  • Operating System and version (e.g. Linux, Windows, MacOS):
    Linux

  • How are you running Tinkerbell? Using Vagrant & VirtualBox, Vagrant & Libvirt, on Packet using Terraform, or give details:

  • Link to your project or a code example to reproduce issue:

displague added a commit that referenced this issue Dec 22, 2022
Update Ubuntu version and build dependencies per #43
@displague displague linked a pull request Dec 22, 2022 that will close this issue
3 tasks
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

Successfully merging a pull request may close this issue.

1 participant