Repository navigation
Conversation
Two unrelated-but-adjacent classes of rot, both security-relevant.
1. Drop the `dev-envs` build stage from 26 Dockerfiles.
Each of these stages ended with:
COPY --from=gloursdocker/docker / /
which copies the entire filesystem root of an unmaintained personal
Docker Hub account into the image. The stages existed only to support
Docker Dev Environments, whose documentation was already removed in
18f59bd.
The stages are unreachable: `dev-envs` appears nowhere outside these
Dockerfiles - no compose service, workflow, or doc references it - and
no other stage uses it as a base. Every service whose Dockerfile had
`dev-envs` as the trailing stage pins an explicit `target:` (`builder`
or `development`), so the default build target is unchanged.
2. Update base images carrying known, unpatched CVEs.
- elasticsearch/logstash/kibana 7.16.1 -> 7.17.28. 7.16.1 predates
the fixes for CVE-2021-45046 and CVE-2021-45105. Staying on 7.17
avoids the 8.x security-by-default migration.
- nginx 1.13-alpine (2017) x4, 1.19.7-alpine, 1.21.6 -> 1.30 stable.
3. Remove the obsolete top-level `version:` key from the pihole and
wireguard samples; Compose warns on both.
All 38 compose files validate with zero warnings.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: TAGISWILD <chauhan.a.atharvak26@gmail.com>
TAGISWILD
force-pushed
the
fix/remove-dev-envs-and-vulnerable-images
branch
from
September 21, 2026 07:03
4d9f577 to
0ee1a1f
Compare
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.
1. Remove the
dev-envsstage from 26 DockerfilesEvery one of these stages ended with:
COPY --from=gloursdocker/docker / /which copies the entire filesystem root of an unmaintained personal Docker Hub
account into the image. The stages existed only to support Docker Dev
Environments, whose documentation was already removed in 18f59bd.
The stages are unreachable:
dev-envsappears nowhere outside these Dockerfiles— no compose service, workflow, or doc references it — and no other stage uses it
as a base. Every service whose Dockerfile had
dev-envsas the trailing stagepins an explicit
target:(builderordevelopment), so no default buildtarget changes.
2. Update base images with known unpatched CVEs
elasticsearch/logstash/kibana7.16.1→7.17.28. 7.16.1 predatesthe fixes for CVE-2021-45046 and CVE-2021-45105. Staying on 7.17 avoids the
8.x security-by-default migration.
nginx1.13-alpine(a 2017 build) ×4,1.19.7-alpine, and1.21.6→ the1.30 stable line.
3. Remove the obsolete top-level
version:keyFrom the
pihole-cloudflared-DoHandwireguardsamples; Compose emits adeprecation warning for both.
Verification
docker compose config -qwith zero warnings(previously two).
target:to a stage that still exists.