Skip to content

feat: containerize linux-sysmonitor health-check script#18

Open
PuneethM-06 wants to merge 14 commits into
mainfrom
feat/dockerfile
Open

feat: containerize linux-sysmonitor health-check script#18
PuneethM-06 wants to merge 14 commits into
mainfrom
feat/dockerfile

Conversation

@PuneethM-06

Copy link
Copy Markdown
Owner

Summary

Containerized the linux-sysmonitor health-check script to provide a consistent and portable execution environment using Docker.

Changes

  • Added a Dockerfile to package the application.
  • Used debian:bookworm-slim as the base image and documented the rationale.
  • Installed the required runtime dependencies (bash, procps, iputils-ping, and iproute2).
  • Configured /app as the working directory.
  • Copied the project into the container image.
  • Made health-check.sh executable.
  • Configured the container to execute health-check.sh using ENTRYPOINT.

Validation

  • Successfully built the Docker image.
  • Successfully started the container using the configured entrypoint.
  • Runtime compatibility issues related to environment-specific command behavior (top output parsing and journalctl) were identified during validation and will be addressed in a follow-up bug fix PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant