fix: repair the local source-code image build - #634
Merged
shreemaan-abhishek merged 2 commits intoSep 29, 2026
Merged
shreemaan-abhishek merged 2 commits into
shreemaan-abhishek merged 2 commits into
Conversation
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
AlinsRan
approved these changes
Sep 29, 2026
nic-6443
approved these changes
Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
CI for docker image built from local source codeworkflow has failed on every scheduledmasterrun for over a week. Two separate problems indebian-dev/Dockerfile.local, one behind the other.1. Debian 11 pool objects are gone
Both stages build on
debian:bullseye-slim. Thebullseye-securityindex is still published and still refreshed, but the.debobjects it points at have been removed from the mirrors:apt-get updatetherefore succeeds andapt-get installfails with a 404 on ten packages, exiting 100 before any APISIX code is touched:This moves both stages to
debian:bookworm-slim, which is what the productiondebian/Dockerfilealready uses. These were the only twobullseyereferences left in the repo.2.
xzis missing, so the runtime tarball cannot be unpackedBehind the apt failure sits a second one.
make depsfetches the APISIX-Runtime as a.tar.xz, and neitherdebian:bullseye-slimnordebian:bookworm-slimshipsxz:xz-utilsis added to the build stage. This is independent of the base image: the same failure is reachable on bullseye once the packages resolve, so fixing only the base image would leave the job red.Verification
Both failures were reproduced against this tree and each fix confirmed by the build advancing past it: the apt step resolves on bookworm, and
install-runtimecompletes withxz-utilspresent. The full image build is left to CI here.