Skip to content

Create slim version of release Docker images #3174

@georgemccabe

Description

@georgemccabe

Describe the Task

  • Create Docker images of releases that have some files removed. Start with removing internal files that are not actually needed by end-users, with a focus on files that may flag vulnerabilities. METplus use cases that do not conform to USAF OTTI standards could also be removed until they are made compliant. Once the process is in place, additional files and tools that are not actually used by the METplus software could also be removed as needed to reduce the size of the image.

  • Create a dtcenter/metplus:6.2-slim image on DockerHub.

  • Add the generation of the slim images to the GitHub Actions workflow that creates release Docker images so that future releases will have a slim version available.

Time Estimate

1-3 days

Sub-Issues

Consider breaking the task down into sub-issues.

  • Add a checkbox for each sub-issue here.

Relevant Deadlines

None

Funding Source

USAF

Define the Metadata

Assignee

  • Select engineer(s) or no engineer required
  • Select scientist(s) or no scientist required

Labels

  • Review default alert labels
  • Select component(s)
  • Select priority
  • Select requestor(s)

Milestone and Projects

  • Select Milestone as a METplus-Wrappers-X.Y.Z version, Consider for Next Release, or Backlog of Development Ideas
  • For a METplus-Wrappers-X.Y.Z version, select the METplus-Wrappers-X.Y.Z Development project

Define Related Issue(s)

Consider the impact to the other METplus components.

Task Checklist

See the METplus Workflow for details.

  • Complete the issue definition above, including the Time Estimate and Funding Source.
  • Fork this repository or create a branch of develop.
    Branch name: feature_<Issue Number>_<Description>
  • Complete the development and test your changes.
  • Add/update log messages for easier debugging.
  • Add/update unit tests.
  • Add/update documentation.
  • Add any new Python packages to the METplus Components Python Requirements table.
  • For any new datasets, an entry to the METplus Verification Datasets Guide.
  • Push local changes to GitHub.
  • Submit a pull request to merge into develop.
    Pull request: feature <Issue Number> <Description>
  • Define the pull request metadata, as permissions allow.
    Select: Reviewer(s) and Development issue
    Select: Milestone as the next official version
    Select: METplus-Wrappers-X.Y.Z Development project for development toward the next official release
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Close this issue.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

🩺 Needs Triage

Status

🩺 Needs Triage

Relationships

None yet

Development

No branches or pull requests

Issue actions