Install apt package in UF container?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 549
- Forks
- 277
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 2
Description
Hi all, apologies as this is not a standard issue. Long story short I have a UF container running in an environment and need to install the snmp package so I can run a script that that does a snmpwalk for an input.
Is there an easy way to ensure the snmp package gets installed in this container, without creating a new image? I was hoping to rig up something using the SPLUNK_CMD ENV, but wanted to ask here first. Basically, I want to run this every time the container starts up:
sudo apt update && sudo apt -y install snmp
Does this container have any provisions to help support a task like that?
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue mentions a UF container and SPLUNK_CMD, but no file or test is identified. Start by locating how SPLUNK_CMD is handled at container startup and checking whether that path supports installing apt's snmp package without a new image. Done would be a supported way to perform this setup, or a clear statement that a new image is required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100