Revert the Docker.wolfi base image back to a known working version - #358
Merged
Conversation
Member
|
What happened? |
artem-shelkovnikov
approved these changes
Jul 22, 2025
Contributor
Author
|
@artem-shelkovnikov Turns out the new base image doesn't actually build successfully, and I didn't catch it when I approved/merged bc when I did local testing I accidentally built the non-wolfi image 🙃 ERROR: failed to build: failed to solve: process "/bin/sh -c apk update && apk add --no-cache libcurl-openssl4=~8.12.1" did not complete successfully: exit code: 127@lorenabalan was looking at potentially fixing it, but we will meet up later today and decide if it's fixable or we should revert and revisit after we do the |
Member
|
Should we also adjust CI to catch such errors before they go too far? |
Contributor
Author
|
@lorenabalan is one step ahead of us with this PR she's working on 😆 -> #357 |
github-actions Bot
pushed a commit
that referenced
this pull request
Jul 22, 2025
) This PR reverts the change made by this renovate [PR](#349) ### Checklists <!--You can remove unrelated items from checklists below and/or add new items that may help during the review.--> #### Pre-Review Checklist - [x] This PR does NOT contain credentials of any kind, such as API keys or username/passwords (double check `crawler.yml.example` and `elasticsearch.yml.example`) - [x] This PR has a meaningful title - [ ] This PR links to all relevant GitHub issues that it fixes or partially addresses - If there is no GitHub issue, please create it. Each PR should have a link to an issue - [x] this PR has a thorough description - [ ] Covered the changes with automated tests - [x] Tested the changes locally - [x] Added a label for each target release version (example: `v0.1.0`) - [ ] Considered corresponding documentation changes - [ ] Contributed any configuration settings changes to the configuration reference - [ ] Ran `make notice` if any dependencies have been added
mattnowzari
added a commit
that referenced
this pull request
Jul 22, 2025
) This PR reverts the change made by this renovate [PR](#349) ### Checklists <!--You can remove unrelated items from checklists below and/or add new items that may help during the review.--> #### Pre-Review Checklist - [x] This PR does NOT contain credentials of any kind, such as API keys or username/passwords (double check `crawler.yml.example` and `elasticsearch.yml.example`) - [x] This PR has a meaningful title - [ ] This PR links to all relevant GitHub issues that it fixes or partially addresses - If there is no GitHub issue, please create it. Each PR should have a link to an issue - [x] this PR has a thorough description - [ ] Covered the changes with automated tests - [x] Tested the changes locally - [x] Added a label for each target release version (example: `v0.1.0`) - [ ] Considered corresponding documentation changes - [ ] Contributed any configuration settings changes to the configuration reference - [ ] Ran `make notice` if any dependencies have been added (cherry picked from commit 80342c3)
Contributor
Author
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
mattnowzari
added a commit
that referenced
this pull request
Jul 22, 2025
…ion (#358) (#360) # Backport This will backport the following commits from `main` to `0.4`: - [Revert the Docker.wolfi base image back to a known working version (#358)](#358) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport)
10 tasks
lorenabalan
added a commit
that referenced
this pull request
Jul 22, 2025
### Description `elastic-renovate` recently [bumped](#349) the sha for the base image of our wolfi docker image. Unfortunately that broke our image as `apk` has been stripped out, which requires a re-work of the Dockerfile. The regression slipped through the cracks because on CI we only build the simple Docker image (`Dockerfile`), not the wolfi one. Wolfi is only built at release time. I tried a few different things to fix the new image, however it seems like it's a non-trivial amount of effort at this time, so we just [reverted the bump](#358). For future reference, I tried using `wget` instead of `curl`, as well as installing `curl` and `make` via another build stage (from an `alpine` image, and copy it into the next stages). For example kept running into issues making `make` work ``` > [builder 14/15] RUN make clean install: 0.116 rm -rf Jars.lock vendor/jars 0.158 script/environment 0.158 make: script/environment: No such file or directory 0.158 make: *** [Makefile:13: install] Error 127 ``` ### Checklists <!--You can remove unrelated items from checklists below and/or add new items that may help during the review.--> #### Pre-Review Checklist - [ ] This PR does NOT contain credentials of any kind, such as API keys or username/passwords (double check `crawler.yml.example` and `elasticsearch.yml.example`) - [ ] This PR has a meaningful title - [ ] This PR links to all relevant GitHub issues that it fixes or partially addresses - If there is no GitHub issue, please create it. Each PR should have a link to an issue - [ ] this PR has a thorough description - [ ] Covered the changes with automated tests - [ ] Tested the changes locally - [ ] Added a label for each target release version (example: `v0.1.0`) - [ ] Considered corresponding documentation changes - [ ] Contributed any configuration settings changes to the configuration reference - [ ] Ran `make notice` if any dependencies have been added ### Related Pull Requests <!--List any relevant PRs here or remove the section if this is a standalone PR. [* https://github.com/elastic/.../pull/123-->](https://github.com/elastic/crawler/pull/349)
mattnowzari
pushed a commit
that referenced
this pull request
Oct 6, 2025
### Description `elastic-renovate` recently [bumped](#349) the sha for the base image of our wolfi docker image. Unfortunately that broke our image as `apk` has been stripped out, which requires a re-work of the Dockerfile. The regression slipped through the cracks because on CI we only build the simple Docker image (`Dockerfile`), not the wolfi one. Wolfi is only built at release time. I tried a few different things to fix the new image, however it seems like it's a non-trivial amount of effort at this time, so we just [reverted the bump](#358). For future reference, I tried using `wget` instead of `curl`, as well as installing `curl` and `make` via another build stage (from an `alpine` image, and copy it into the next stages). For example kept running into issues making `make` work ``` > [builder 14/15] RUN make clean install: 0.116 rm -rf Jars.lock vendor/jars 0.158 script/environment 0.158 make: script/environment: No such file or directory 0.158 make: *** [Makefile:13: install] Error 127 ``` ### Checklists <!--You can remove unrelated items from checklists below and/or add new items that may help during the review.--> #### Pre-Review Checklist - [ ] This PR does NOT contain credentials of any kind, such as API keys or username/passwords (double check `crawler.yml.example` and `elasticsearch.yml.example`) - [ ] This PR has a meaningful title - [ ] This PR links to all relevant GitHub issues that it fixes or partially addresses - If there is no GitHub issue, please create it. Each PR should have a link to an issue - [ ] this PR has a thorough description - [ ] Covered the changes with automated tests - [ ] Tested the changes locally - [ ] Added a label for each target release version (example: `v0.1.0`) - [ ] Considered corresponding documentation changes - [ ] Contributed any configuration settings changes to the configuration reference - [ ] Ran `make notice` if any dependencies have been added ### Related Pull Requests <!--List any relevant PRs here or remove the section if this is a standalone PR. [* https://github.com/elastic/.../pull/123-->](https://github.com/elastic/crawler/pull/349) (cherry picked from commit 8b63c7b)
mattnowzari
pushed a commit
that referenced
this pull request
Oct 6, 2025
### Description `elastic-renovate` recently [bumped](#349) the sha for the base image of our wolfi docker image. Unfortunately that broke our image as `apk` has been stripped out, which requires a re-work of the Dockerfile. The regression slipped through the cracks because on CI we only build the simple Docker image (`Dockerfile`), not the wolfi one. Wolfi is only built at release time. I tried a few different things to fix the new image, however it seems like it's a non-trivial amount of effort at this time, so we just [reverted the bump](#358). For future reference, I tried using `wget` instead of `curl`, as well as installing `curl` and `make` via another build stage (from an `alpine` image, and copy it into the next stages). For example kept running into issues making `make` work ``` > [builder 14/15] RUN make clean install: 0.116 rm -rf Jars.lock vendor/jars 0.158 script/environment 0.158 make: script/environment: No such file or directory 0.158 make: *** [Makefile:13: install] Error 127 ``` ### Checklists <!--You can remove unrelated items from checklists below and/or add new items that may help during the review.--> #### Pre-Review Checklist - [ ] This PR does NOT contain credentials of any kind, such as API keys or username/passwords (double check `crawler.yml.example` and `elasticsearch.yml.example`) - [ ] This PR has a meaningful title - [ ] This PR links to all relevant GitHub issues that it fixes or partially addresses - If there is no GitHub issue, please create it. Each PR should have a link to an issue - [ ] this PR has a thorough description - [ ] Covered the changes with automated tests - [ ] Tested the changes locally - [ ] Added a label for each target release version (example: `v0.1.0`) - [ ] Considered corresponding documentation changes - [ ] Contributed any configuration settings changes to the configuration reference - [ ] Ran `make notice` if any dependencies have been added ### Related Pull Requests <!--List any relevant PRs here or remove the section if this is a standalone PR. [* https://github.com/elastic/.../pull/123-->](https://github.com/elastic/crawler/pull/349) (cherry picked from commit 8b63c7b)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR reverts the change made by this renovate PR
Checklists
Pre-Review Checklist
crawler.yml.exampleandelasticsearch.yml.example)v0.1.0)make noticeif any dependencies have been added