Merge ~athos-ribeiro/ubuntu-docker-images/+git/cassandra:4.0-21.10-deb-manifest into ~ubuntu-docker-images/ubuntu-docker-images/+git/cassandra:4.0-21.10

Proposed by Athos Ribeiro
Status: Merged
Merged at revision: 986cfbf0e5860bc6e04d04f7d78ce3af88bea504
Proposed branch: ~athos-ribeiro/ubuntu-docker-images/+git/cassandra:4.0-21.10-deb-manifest
Merge into: ~ubuntu-docker-images/ubuntu-docker-images/+git/cassandra:4.0-21.10
Diff against target: 14 lines (+3/-1)
1 file modified
Dockerfile (+3/-1)
Reviewer Review Type Date Requested Status
Bryce Harrington Approve
Sergio Durigan Junior Pending
Canonical Server Pending
Review via email: mp+413022@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
Bryce Harrington (bryce) wrote :

LGTM, matches to what was done for other images.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/Dockerfile b/Dockerfile
2index 7054b9f..c801312 100644
3--- a/Dockerfile
4+++ b/Dockerfile
5@@ -59,7 +59,9 @@ RUN set -eux; \
6 libjemalloc="$(readlink -e /usr/lib/*/libjemalloc.so.2)"; \
7 ln -sT "$libjemalloc" /usr/local/lib/libjemalloc.so; \
8 ldconfig; \
9- mkdir -p $CASSANDRA_CONF $CASSANDRA_LOG_DIR $CASSANDRA_DATA
10+ mkdir -p $CASSANDRA_CONF $CASSANDRA_LOG_DIR $CASSANDRA_DATA; \
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 ENV JVM_OPTS "$JVM_OPTS -Dcassandra.config=file://$CASSANDRA_CONF/cassandra.yaml"
15

Subscribers

People subscribed via source and target branches