Skip to content

Conversation

@craigcomstock
Copy link
Contributor

Otherwise, the update layer can be cached and have bad information for the subsequent two install command layers.

As the distribution changes package versions the install layers, if they are not cached, will fail.

Also combined the two install commands into one for brevity.

Ticket: ENT-13252
Changelog: none
(cherry picked from commit c6e385d)

Conflicts:
tests/valgrind-check/Containerfile

To get a smaller change I just combined the update and install apt lines instead of also changing the ubuntu version and package list.

@craigcomstock craigcomstock changed the title Adjusted valgrind-check Containerfile to ensure apt update and install are linked and cached together in one layer Adjusted valgrind-check Containerfile to ensure apt update and install are linked and cached together in one layer (3.21) Oct 24, 2025
…l are linked and cached together in one layer

Otherwise, the update layer can be cached and have bad information for the subsequent two install command layers.

As the distribution changes package versions the install layers, if they are not cached, will fail.

Also combined the two install commands into one for brevity.

Ticket: ENT-13252
Changelog: none
(cherry picked from commit c6e385d)

 Conflicts:
	tests/valgrind-check/Containerfile

To get a smaller change I just combined the update and install apt lines instead of also changing the ubuntu version and package list.
@craigcomstock craigcomstock merged commit 2cab9a9 into cfengine:3.21.x Oct 24, 2025
11 checks passed
@craigcomstock craigcomstock deleted the ENT-13252/3.21 branch October 24, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant