Skip to content

Commit

Permalink
infra: Fix caching issue in honggfuzz docker layer (#12807)
Browse files Browse the repository at this point in the history
It is not possible inside a dockerfile to just call `apt install`,
because the apt cache may come from a docker image layer that is long
outdated.

Every layer that uses an `apt install` MUST call `apt update` before.

Co-authored-by: MarcoFalke <[email protected]>
  • Loading branch information
maflcko and maflcko authored Dec 4, 2024
1 parent 90626ae commit 9994c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/base-images/base-builder/precompile_honggfuzz
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ PACKAGES=(
zlib1g-dev
pkg-config)

apt-get install -y ${PACKAGES[@]}
apt-get update && apt-get install -y ${PACKAGES[@]}

pushd $SRC/honggfuzz > /dev/null
make clean
Expand Down

0 comments on commit 9994c90

Please sign in to comment.