Skip to content

[9.0] updates to docker image template based on feedback (backport #17494) #17525

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

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Apr 9, 2025

  • change base images to ubi9-minimal
  • do all env2yaml related copying in 1 COPY
  • use -trimpath in go build
  • move other COPY to end of dockerfile
  • don't run package manager upgrade
  • FROM and AS with same case
  • ENV x=y instead of ENV x y
  • remove indirect config folder

Exhaustive test suite: https://buildkite.com/elastic/logstash-exhaustive-tests-pipeline/builds/1682


This is an automatic backport of pull request #17494 done by Mergify.

* change base images to ubi9-minimal
* do all env2yaml related copying in 1 COPY
* use -trimpath in go build
* move other COPY to end of dockerfile
* don't run package manager upgrade
* FROM and AS with same case
* ENV x=y instead of ENV x y
* remove indirect config folder

(cherry picked from commit 815fa8b)
@mergify mergify bot added the backport label Apr 9, 2025
@mergify mergify bot assigned jsvd Apr 9, 2025
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Copy link
Member

@jsvd jsvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @jsvd

@jsvd jsvd merged commit b44300d into 9.0 Apr 9, 2025
7 checks passed
@jsvd jsvd deleted the mergify/bp/9.0/pr-17494 branch April 9, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants