Skip to content

HDDS-12441. Add helper script for building Docker image#39

Merged
adoroszlai merged 5 commits intoapache:masterfrom
adoroszlai:HDDS-12441
Mar 4, 2025
Merged

HDDS-12441. Add helper script for building Docker image#39
adoroszlai merged 5 commits intoapache:masterfrom
adoroszlai:HDDS-12441

Conversation

@adoroszlai
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Add build.sh, helper script for building the image.

Benefits:

  • consistent experience across ozone-docker* repos
  • future improvements possible without updating docs

Also add .dockerignore.

https://issues.apache.org/jira/browse/HDDS-12441

How was this patch tested?

$ ./build.sh
...
 => => naming to docker.io/apache/ozone-runner:dev

CI:
https://github.com/adoroszlai/ozone-docker-runner/actions/runs/13583576812

Copy link
Copy Markdown
Contributor

@dombizita dombizita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @adoroszlai, looks good to me! Tested it on my mac and it worked as expected.

@adoroszlai
Copy link
Copy Markdown
Contributor Author

Thanks @dombizita for the review. I plan to update the PR with updated docs as per comment in similar PR for other image.

@adoroszlai
Copy link
Copy Markdown
Contributor Author

Updated README and CONTRIBUTING docs, please check.

Copy link
Copy Markdown

@errose28 errose28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just minor comments on the markdown but otherwise LGTM.

CONTRIBUTING.md Outdated
Comment on lines +52 to +60
CI checks are triggered by pushing changes to your fork.

GitHub Actions workflow runs in your fork are listed at `https://github.com/<username>/ozone-docker-runner/actions`.

The image is built and tagged with commit SHA in GitHub, ready for testing integration with other repos.

Images built in your fork are available at `https://github.com/<username>/ozone-docker-runner/pkgs/container/ozone-runner`.

These images can be shared with other developers for feedback.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit. we can collapse this into one paragraph. I don't think we need one sentence per line.

CONTRIBUTING.md Outdated
Comment on lines +71 to +73
## Tagging

(for committers)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Tagging
(for committers)
## Tagging (for committers)

CONTRIBUTING.md Outdated

(for committers)

Publishing Docker tags:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we integrate this line into the section title?

@adoroszlai adoroszlai merged commit 6526571 into apache:master Mar 4, 2025
1 check passed
@adoroszlai adoroszlai deleted the HDDS-12441 branch March 4, 2025 17:13
@adoroszlai
Copy link
Copy Markdown
Contributor Author

Thanks @dombizita, @errose28 for the review.

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.

3 participants