Skip to content

feat: add iputils-ping to both images for asset discovery - #176

Merged
jsokol merged 1 commit into
testingfrom
FEATURE-add-iputils-ping
Sep 30, 2026
Merged

jsokol merged 1 commit into
testingfrom
FEATURE-add-iputils-ping

Conversation

@jsokol

@jsokol jsokol commented Sep 30, 2026

Copy link
Copy Markdown
Member

Summary

  • Add iputils-ping to the apt install lists in both generate_dockerfile.sh scripts and regenerate the Dockerfiles (no version bump).
  • SimpleRisk's asset discovery relies on ping, which neither the Ubuntu nor the php:*-apache base image ships, so neither image had it.

Test plan

  • Built simplerisk-minimal locally and ran ping -c1 127.0.0.1 as the non-root simplerisk user: succeeds.
  • Full-stack image not built locally; CI container-validation builds all 5 variants.
  • Note: ping needs NET_RAW, which Docker grants by default; deployments that drop it (e.g. k8s drop: ALL) will still fail.

🤖 Generated with Claude Code

Asset discovery relies on ping, which neither the Ubuntu nor the
php:*-apache base image ships. Add iputils-ping to the apt install
lists in both generators and regenerate the Dockerfiles.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jsokol
jsokol merged commit ea22d98 into testing Sep 30, 2026
8 checks passed
@jsokol
jsokol deleted the FEATURE-add-iputils-ping branch September 30, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant