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

Parametrize ray-operator makefile #1121

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

anishasthana
Copy link
Contributor

cc @kevin85421

Why are these changes needed?

This parametrizes the Makefile we are using to build and push Ray Operator images.

Related issue number

Closes #1116

Checks

  • I've made sure the tests are passing.
    I did not run manual tests as this is just modifying the makefile for image builds/push.

@@ -82,12 +85,12 @@ run: manifests generate fmt vet ## Run a controller from your host.
go run ./main.go

docker-image: ## Build image only
docker build -t ${IMG} .
${ENGINE} build -t ${IMG} .
Copy link
Member

Choose a reason for hiding this comment

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

I am not familiar with podman. Does podman support the same commands as Docker?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, it's effectively a drop in replacement for Docker. Some people go as far as to add alias docker=podman onto their systems. The major difference between the two is that Docker runs as root, whereas podman runs rootless by default. So far I haven't noticed any issues due to running as rootless.

@anishasthana anishasthana force-pushed the update_makefile branch 4 times, most recently from 2929cca to fed98c1 Compare June 1, 2023 10:38
Signed-off-by: Anish Asthana <anishasthana1@gmail.com>
Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

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

LGTM. Although I haven't tested this PR manually, since it has passed the CI, it should be safe to merge.

@kevin85421 kevin85421 merged commit fe29409 into ray-project:master Jun 1, 2023
19 checks passed
@anishasthana anishasthana deleted the update_makefile branch June 1, 2023 18:15
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
…ay-project#1121)

Parametrize ray operator makefile to support other container engines
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.

[Feature] Update ray-operator MakeFile to support alternative container engines
2 participants