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
Labels
bughancement It's kind of a bug, but mostly an enhancement. needs investigation It looks as though have all the information needed but investigation is required

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!

@mihaitodor mihaitodor added bughancement It's kind of a bug, but mostly an enhancement. needs investigation It looks as though have all the information needed but investigation is required labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bughancement It's kind of a bug, but mostly an enhancement. needs investigation It looks as though have all the information needed but investigation is required
Projects
None yet
Development

No branches or pull requests

3 participants