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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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?


# 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=2.10.7-1 \
git=1:2.30.2-1ubuntu1 \
ansible=2.10.7+merged+base+2.10.8+dfsg-1 \
git=1:2.34.1-1ubuntu1.5 \
qemu-kvm \
qemu-utils \
unzip=6.0-26ubuntu1 \
xorriso=1.5.2-1 \
unzip=6.0-26ubuntu3.1 \
xorriso=1.5.4-2 \
curl \
jq=1.6-2.1ubuntu1 \
jq=1.6-2.1ubuntu3 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down