OpenLiberty / OpenLiberty/ci.common

Ignore whitespace within Dockerfile lines for devc

Open
#242 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

devModeContainers
Dominant language
Java
Stars
4
Forks
32
Avg merge
1d 5h
Merged PRs (30d)
5

Description

Currently devc parses Dockerfile for content such as RUN configure.sh or RUN features.sh. We should enhance that parsing to handle the cases where there is extra whitespace within such commands, e.g. within DevUtil.getCleanedLines()

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at DevUtil.getCleanedLines(), which the issue identifies as the relevant parsing entry point, and trace how devc recognizes Dockerfile commands such as RUN configure.sh and RUN features.sh. Verify the behavior for commands containing extra whitespace within the lines; done means those commands are still recognized correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
dockerfile, java
Domain
devops, tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.