Merge ~athos-ribeiro/ubuntu-docker-images/+git/cortex:1.7-21.04-deb-manifest into ~ubuntu-docker-images/ubuntu-docker-images/+git/cortex:1.7-21.04

Proposed by Athos Ribeiro
Status: Merged
Merged at revision: 4280f52a7b775952ae91813e97c7f598837bde91
Proposed branch: ~athos-ribeiro/ubuntu-docker-images/+git/cortex:1.7-21.04-deb-manifest
Merge into: ~ubuntu-docker-images/ubuntu-docker-images/+git/cortex:1.7-21.04
Diff against target: 14 lines (+3/-1)
1 file modified
oci/Dockerfile.ubuntu (+3/-1)
Reviewer Review Type Date Requested Status
Sergio Durigan Junior Approve
Canonical Server Pending
Review via email: mp+413034@code.launchpad.net

Description of the change

Generate manifest to report installed deb packages

* https://bugs.launchpad.net/ubuntu-docker-images/+bug/1953697

To post a comment you must log in.
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

The changes LGTM, but we're not going to be publishing/updating 21.04 images anymore. Ubuntu Hirsute (21.04) will reach EOL on January 20, 2022.

I don't mind if you want to push this to the official git repo just to make sure we're consistent throughout the releases, though.

FWIW, this comment also applies to the other MPs targetting 21.04.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/oci/Dockerfile.ubuntu b/oci/Dockerfile.ubuntu
2index 237d6f9..e4e0372 100644
3--- a/oci/Dockerfile.ubuntu
4+++ b/oci/Dockerfile.ubuntu
5@@ -51,7 +51,9 @@ RUN set -eux; \
6 DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
7 tzdata ca-certificates; \
8 rm -rf /var/lib/apt/lists/*; \
9- mkdir -p /usr/share/rocks
10+ mkdir -p /usr/share/rocks; \
11+# create deb manifest
12+ (echo "# os-release" && cat /etc/os-release && echo "# dpkg-query" && dpkg-query -f '${db:Status-Abbrev},${binary:Package},${Version},${source:Package},${Source:Version}\n' -W) > /usr/share/rocks/dpkg.query
13
14 COPY --from=builder /src/cortex/manifest-upstream.txt /usr/share/rocks/upstream
15

Subscribers

People subscribed via source and target branches