Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile for tools/copyblocks #7211

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Add Dockerfile for tools/copyblocks #7211

merged 1 commit into from
Jan 26, 2024

Conversation

pstibrany
Copy link
Member

What this PR does

This PR adds Dockerfile for tools/copyblocks. This allows manual builds of docker image, eg.:

make tools/copyblocks/.uptodate

or

make BUILD_IMAGE=grafana/mimir-build-image IMAGE_PREFIX=myrepo/ push-multiarch-tools/copyblocks/.uptodate

This also enabled building of docker image during releases or weekly builds.

(Asked internal IT to create new grafana/copyblocks repository for this to work.)

Checklist

  • [na] Tests updated.
  • [na] Documentation added.
  • [na] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • [na] about-versioning.md updated with experimental features.

Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
@pstibrany pstibrany requested a review from a team as a code owner January 25, 2024 09:38
EXPOSE 8080
ENTRYPOINT ["/copyblocks"]

ARG revision
Copy link
Contributor

Choose a reason for hiding this comment

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

[Nit] Is there a reason for this being lowercase unlike the other args?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not really. That's what Makefile and all other Dockerfiles use. We could change it if needed, but it's unrelated to this PR.

@pstibrany
Copy link
Member Author

Will wait with merge until the repository is ready. Moving to draft until then.

@pstibrany pstibrany marked this pull request as draft January 25, 2024 14:07
@pstibrany
Copy link
Member Author

Will wait with merge until the repository is ready. Moving to draft until then.

New repository now exists, and deployment was tested in #7226.

@pstibrany pstibrany marked this pull request as ready for review January 26, 2024 09:19
@pstibrany pstibrany merged commit 1d39af4 into main Jan 26, 2024
28 checks passed
@pstibrany pstibrany deleted the copyblocks-dockerfile branch January 26, 2024 09:19
@pstibrany
Copy link
Member Author

We can now see first weekly build in the repository as well: r275-f941f47

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.

None yet

2 participants