Skip to content

Commit

Permalink
Cirrus: Workaround defunct package metadata
Browse files Browse the repository at this point in the history
During VM image build, a number of packages are downloaded but not
installed, since they may interfere with some testing.  Then at runtime,
where required, the packages are installed from cache and used.  This
mechanism broke, and is being investigated in
containers/automation_images#95

Signed-off-by: Chris Evich <[email protected]>
cevich committed Oct 1, 2021
1 parent 954c481 commit e56c6bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contrib/cirrus/setup.sh
Original file line number Diff line number Diff line change
@@ -37,7 +37,11 @@ EOF
# Need to re-build lists (removed during image production)
lilto apt-get -qq -y update
msg "Installing previously downloaded/cached packages"
$SHORT_APTGET install --no-download --ignore-missing containerd.io docker-ce docker-ce-cli
# TODO: Workaround metadata update (above) ruining usefulness
# of pre-populated package cache.
# Ref: https://github.com/containers/automation_images/issues/95
# i.e. this should at least specify --no-download
$SHORT_APTGET install containerd.io docker-ce docker-ce-cli

# At the time of this comment, Ubuntu is using systemd-resolved
# which interfears badly with conformance testing. Some tests

0 comments on commit e56c6bf

Please sign in to comment.