Skip to content

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

@yeahdongcn

Description

@yeahdongcn

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions