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

update build environment to Ubuntu LTS 22.04 #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

displague
Copy link
Member

Description

Update Ubuntu version and build dependencies per #43

We may need additional OS updating changes, such as in tools/build_all.sh

Why is this needed

Fixes: #43

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

Update Ubuntu version and build dependencies per #43
@@ -1,17 +1,17 @@
FROM ubuntu:hirsute-20210723
FROM ubuntu:jammy-20221130
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we don't use the LTS?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the Dockerfile locally as follows and the image works just fine:

FROM ubuntu:20.04

# Disable DL3008 as it is not possible to pin virtual packages such as qemu-kvm
# hadolint ignore=DL3008
RUN apt-get update \
 && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends \
   ansible \
   git \
   qemu-kvm \
   qemu-utils \
   unzip \
   xorriso \
   curl \
   jq \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*

Question: Why pin the version for specific packages?

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 this pull request may close these issues.

Build image failed as Ubuntu 21.04 (Hirsute Hippo) reaches End of Life
3 participants