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

Dockerfile: copy redpanda-connect binary into /usr/sbin folder instead of root (/) for CI/CD usage #3076

Open
ntx-ben opened this issue Dec 12, 2024 · 1 comment

Comments

@ntx-ben
Copy link

ntx-ben commented Dec 12, 2024

Trying to use the redpanda-connect official Docker image in a CI/CD pipeline in GitLab (for linting and unit-testing purposes), however since the redpanda-connect binary is not in a folder of $PATH I cannot execute it:

From within a shell of redpanda-connect container:

/ $ ls
bin               dev               home              lib64             redpanda-connect  sys               usr
connect.yaml      etc               lib               proc              root              tmp               var
/ $ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
/ $ which redpanda-connect
/ $ 

It would be greatly appreciated if the Dockerfile would be changed to copy the binary into /usr/sbin (or any other folder in $PATH (as well as modifying the entrypoint to ENTRYPOINT ["redpanda-connect"]).

I don't think this would introduce a breaking change?

@rockwotj
Copy link
Collaborator

I don't think this would introduce a breaking change?

Technically could be, but we could add a symlink to prevent that. PRs are accepted!

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

No branches or pull requests

2 participants