redpanda-data / redpanda-data/connect
Dockerfile: copy redpanda-connect binary into /usr/sbin folder instead of root (/) for CI/CD usage
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.8k
- Forks
- 969
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 64
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the Dockerfile and the current container entrypoint, then build the official image to check where redpanda-connect is placed and how it is invoked. Done means the binary is available through the container's PATH and the requested entrypoint behavior works for CI/CD use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, dockerfile
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100