Create Dockerfile to serve oadp-cli binaries#72
Merged
Joeavaikath merged 1 commit intomigtools:oadp-devfrom Oct 24, 2025
Merged
Create Dockerfile to serve oadp-cli binaries#72Joeavaikath merged 1 commit intomigtools:oadp-devfrom
Joeavaikath merged 1 commit intomigtools:oadp-devfrom
Conversation
Signed-off-by: Joseph <jvaikath@redhat.com>
This was
linked to
issues
Oct 22, 2025
Member
|
Does this serve just the tar.gz? Can you download ready to execute binary directly? |
kaovilai
approved these changes
Oct 22, 2025
Contributor
Author
|
They would have to decompress it first. |
Member
|
Sure that's fine. It would also be cool if the server itself when serving a URL is actively decompressing and serving the decompressed binary, but that might get too complicated for an initial code. |
Member
|
I'm sure our customers are familiar with tar archive |
rayfordj
reviewed
Oct 25, 2025
| rm -rf /root/.cache/go-build && \ | ||
| rm -rf /go/pkg | ||
|
|
||
| FROM registry.access.redhat.com/ubi8/ubi-minimal:latest |
There was a problem hiding this comment.
Suggested change
| FROM registry.access.redhat.com/ubi8/ubi-minimal:latest | |
| FROM registry.access.redhat.com/ubi9/ubi-minimal:latest |
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why the changes were made
Creates a Dockerfile that cross-builds and serves the binaries on an image
This is the first step towards having a proper release image for these binaries that will be used by ConsoleCLIDownload to serve them
How to test the changes made
Run a podman build and run, see the server with the tarballs