-
Notifications
You must be signed in to change notification settings - Fork 2
[WIP] Chainlink image builder #178
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
base: main
Are you sure you want to change the base?
Conversation
👋 krebernisak, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new Chainlink image builder Dockerfile specifically designed for testing purposes with plugin support. The Dockerfile creates a multi-stage build that compiles Go binaries with debugging capabilities and various plugin configurations.
Key Changes
- Introduces a new experimental Dockerfile for building Chainlink with plugins for testing
- Implements multi-stage build with Go compilation and Ubuntu-based runtime
- Adds support for optional private and testing plugins installation
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
scripts/build/chainlink.Dockerfile
Outdated
ENV CL_MERCURY_CMD=chainlink-mercury | ||
|
||
# CCIP specific | ||
COPY ./cci[p]/confi[g] /ccip-config |
Copilot
AI
Sep 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The glob pattern with square brackets cci[p]/confi[g]
will match literal characters 'p' and 'g' respectively, not the full words 'ccip/config'. If you intend to copy the ccip/config directory, use COPY ./ccip/config /ccip-config
instead.
COPY ./cci[p]/confi[g] /ccip-config | |
COPY ./ccip/config /ccip-config |
Copilot uses AI. Check for mistakes.
183df1b
to
882b8ce
Compare
70ef560
to
3ec8219
Compare
DOCKER_BUILDKIT=1 docker build . \ -t smartcontract/chainlink-plugins-dev:v0.0.1-beta.1-chainlink-ton-bundle \ -f ./scripts/build/chainlink.from-nix-builder.Dockerfile \ --build-arg NIX_BUILD_PKG=chainlink-plugins-bundle
Inspect the image:
ls -la /nix/store total 56 drwxr-xr-x 14 root root 4096 Sep 11 17:41 . drwxr-xr-x 3 root root 4096 Sep 11 17:41 .. dr-xr-xr-x 3 root root 4096 Sep 11 17:41 0x15ps86zc4wbk03463m7dczav9xp72z-xgcc-14.3.0-libgcc dr-xr-xr-x 6 root root 4096 Sep 11 17:41 2hcy8bvfswxsvsxq5s9bwibhivs25aif-glibc-2.40-66 dr-xr-xr-x 3 root root 4096 Sep 11 17:41 87pbspfhvv6ldyp7xp3p1xb479lk8nh7-libunistring-1.3 dr-xr-xr-x 4 root root 4096 Sep 11 17:41 8xxhjr5d6k8cdf02jix8asavd6cp322c-chainlink-aptos-1.0.0 dr-xr-xr-x 4 root root 4096 Sep 11 17:41 anixmx00k0fhjilpd9j927as20k8yq82-libidn2-2.3.8 dr-xr-xr-x 3 root root 4096 Sep 11 17:41 br1ja7az4rin2ap9p1da0zwkl4bhwfdw-tzdata-2025b dr-xr-xr-x 4 root root 4096 Sep 11 17:41 f4qxpncb8ijz4vjslvlvisdgp2l0hgi5-chainlink-ton-0.0.1 dr-xr-xr-x 4 root root 4096 Sep 11 17:41 kysihgcll7fipp3854dzmb1p34xc0wyq-chainlink-solana-1.0.0 dr-xr-xr-x 4 root root 4096 Sep 11 17:41 qs3a9x0sfnk711lk6bd5xavkmkfaj20s-chainlink-plugins-bundle dr-xr-xr-x 3 root root 4096 Sep 11 17:41 r1sjf4lwl3iryx2r4fycyv7zwr85739l-delve-1.25.1 dr-xr-xr-x 4 root root 4096 Sep 11 17:41 rq4h9ykca1jnsgfbnmc6x5qwz0zfr7p6-mailcap-2.1.54 dr-xr-xr-x 4 root root 4096 Sep 11 17:41 w6cy0kbvpicbdlp9xr0nc5ylqpqki295-iana-etc-20250505