OSSM-742 Improve Maistra container images build#534
Merged
maistra-bot merged 4 commits intomaistra:maistra-2.2from Jul 5, 2022
Merged
OSSM-742 Improve Maistra container images build#534maistra-bot merged 4 commits intomaistra:maistra-2.2from
maistra-bot merged 4 commits intomaistra:maistra-2.2from
Conversation
jwendell
reviewed
Jun 14, 2022
Member
jwendell
left a comment
There was a problem hiding this comment.
Can we make this simpler by having all labels and stuff directly in the dockerfiles?
Also, can we have all dockerfiles in the same dir (e.g., under maistra dir)?
jwendell
reviewed
Jun 27, 2022
jwendell
reviewed
Jun 27, 2022
maistra.mk
Outdated
| $(MAISTRA_IMAGE_RULE) | ||
|
|
||
| .PHONY: maistra-image.proxy | ||
| maistra-image.proxy: BUILD_PRE=&& chmod 644 envoy_bootstrap.json gcp_envoy_bootstrap.json |
Member
There was a problem hiding this comment.
we should perhaps add something like
maistra-image.proxy: VERSION=${MAISTRA_VERSION}
on the very beginning of these dependencies so that we get the right version in the output of <binary> version subcommand. Example:
Before:
docker run --rm -it quay.io/jwendell/proxy:2.2.0 version
version.BuildInfo{Version:"1.12-dev", GitRevision:"c30e9344bb503d749f9936e82b39706ed9d54730", GolangVersion:"go1.17.9", BuildStatus:"Clean", GitTag:"1.12.6-113-gc30e9344bb"}
After:
$ docker run --rm -it quay.io/jwendell/proxy:2.2.0 version
version.BuildInfo{Version:"2.2.0", GitRevision:"c30e9344bb503d749f9936e82b39706ed9d54730-dirty", GolangVersion:"go1.17.9", BuildStatus:"Modified", GitTag:"1.12.6-113-gc30e9344bb"}
Same to pilot and cni.
Contributor
Author
There was a problem hiding this comment.
$ docker run --rm -it quay.io/bmangoen/pilot-ubi8:2.2.0 version
version.BuildInfo{Version:"2.2.0", GitRevision:"69a592bccfa1bb3c620286a8840db4c51dcdf2ab-dirty", GolangVersion:"go1.17.9", BuildStatus:"Modified", GitTag:"1.7.0-alpha.0-4267-g69a592bccf"}
$ docker run --rm -it quay.io/bmangoen/istio-cni-ubi8:2.2.0 install-cni version
version.BuildInfo{Version:"2.2.0", GitRevision:"69a592bccfa1bb3c620286a8840db4c51dcdf2ab-dirty", GolangVersion:"go1.17.9", BuildStatus:"Modified", GitTag:"1.7.0-alpha.0-4267-g69a592bccf"}
$ docker run --rm -it quay.io/bmangoen/proxyv2-ubi8:2.2.0 version
version.BuildInfo{Version:"2.2.0", GitRevision:"69a592bccfa1bb3c620286a8840db4c51dcdf2ab-dirty", GolangVersion:"go1.17.9", BuildStatus:"Modified", GitTag:"1.7.0-alpha.0-4267-g69a592bccf"}
dgn
approved these changes
Jul 1, 2022
jwendell
approved these changes
Jul 1, 2022
Contributor
Author
|
/retest |
1 similar comment
Contributor
|
/retest |
|
In response to a cherrypick label: #534 failed to apply on top of branch "maistra-2.3": |
|
In response to a cherrypick label: #534 failed to apply on top of branch "maistra-2.3": |
bmangoen
added a commit
to bmangoen/maistra-istio
that referenced
this pull request
Aug 25, 2022
* OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION
11 tasks
maistra-bot
pushed a commit
that referenced
this pull request
Sep 28, 2022
* OSSM-742 Improve Maistra container images build (#534) * OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION * Adapt images builds relying on upstream build tool * Add copyright and license into scripts
maistra-bot
pushed a commit
that referenced
this pull request
Nov 23, 2022
* OSSM-742 Improve Maistra container images build (for maistra-2.3) (#606) * OSSM-742 Improve Maistra container images build (#534) * OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION * Adapt images builds relying on upstream build tool * Add copyright and license into scripts * chore: updates image labels to reflect actual targeted versions * chore: removes vendor left-overs Co-authored-by: bmangoen <bmangoen@gmail.com>
jewertow
pushed a commit
to jewertow/istio
that referenced
this pull request
Sep 1, 2023
* OSSM-742 Improve Maistra container images build (for maistra-2.3) (maistra#606) * OSSM-742 Improve Maistra container images build (maistra#534) * OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION * Adapt images builds relying on upstream build tool * Add copyright and license into scripts * chore: updates image labels to reflect actual targeted versions * chore: removes vendor left-overs Co-authored-by: bmangoen <bmangoen@gmail.com>
openshift-merge-robot
pushed a commit
that referenced
this pull request
Sep 4, 2023
* OSSM-742 Improve Maistra container images build (for maistra-2.3) (#606) * OSSM-742 Improve Maistra container images build (#534) * OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION * Adapt images builds relying on upstream build tool * Add copyright and license into scripts * chore: updates image labels to reflect actual targeted versions * chore: removes vendor left-overs Co-authored-by: bmangoen <bmangoen@gmail.com>
yannuil
pushed a commit
to yannuil/maistra-istio
that referenced
this pull request
May 21, 2024
* OSSM-742 Improve Maistra container images build (for maistra-2.3) (maistra#606) * OSSM-742 Improve Maistra container images build (maistra#534) * OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION * Adapt images builds relying on upstream build tool * Add copyright and license into scripts * chore: updates image labels to reflect actual targeted versions * chore: removes vendor left-overs Co-authored-by: bmangoen <bmangoen@gmail.com>
yannuil
pushed a commit
to yannuil/maistra-istio
that referenced
this pull request
May 21, 2024
* OSSM-742 Improve Maistra container images build (for maistra-2.3) (maistra#606) * OSSM-742 Improve Maistra container images build (maistra#534) * OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION * Adapt images builds relying on upstream build tool * Add copyright and license into scripts * chore: updates image labels to reflect actual targeted versions * chore: removes vendor left-overs Co-authored-by: bmangoen <bmangoen@gmail.com>
yannuil
pushed a commit
to yannuil/maistra-istio
that referenced
this pull request
May 21, 2024
* OSSM-742 Improve Maistra container images build (for maistra-2.3) (maistra#606) * OSSM-742 Improve Maistra container images build (maistra#534) * OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION * Adapt images builds relying on upstream build tool * Add copyright and license into scripts * chore: updates image labels to reflect actual targeted versions * chore: removes vendor left-overs Co-authored-by: bmangoen <bmangoen@gmail.com>
yannuil
pushed a commit
to yannuil/maistra-istio
that referenced
this pull request
May 22, 2024
* OSSM-742 Improve Maistra container images build (for maistra-2.3) (maistra#606) * OSSM-742 Improve Maistra container images build (maistra#534) * OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION * Adapt images builds relying on upstream build tool * Add copyright and license into scripts * chore: updates image labels to reflect actual targeted versions * chore: removes vendor left-overs Co-authored-by: bmangoen <bmangoen@gmail.com>
yannuil
pushed a commit
to yannuil/maistra-istio
that referenced
this pull request
May 22, 2024
* OSSM-742 Improve Maistra container images build (for maistra-2.3) (maistra#606) * OSSM-742 Improve Maistra container images build (maistra#534) * OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION * Adapt images builds relying on upstream build tool * Add copyright and license into scripts * chore: updates image labels to reflect actual targeted versions * chore: removes vendor left-overs Co-authored-by: bmangoen <bmangoen@gmail.com>
yannuil
pushed a commit
to yannuil/maistra-istio
that referenced
this pull request
May 22, 2024
* OSSM-742 Improve Maistra container images build (for maistra-2.3) (maistra#606) * OSSM-742 Improve Maistra container images build (maistra#534) * OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION * Adapt images builds relying on upstream build tool * Add copyright and license into scripts * chore: updates image labels to reflect actual targeted versions * chore: removes vendor left-overs Co-authored-by: bmangoen <bmangoen@gmail.com>
openshift-merge-bot bot
pushed a commit
that referenced
this pull request
May 23, 2024
* OSSM-742 Improve Maistra container images build (for maistra-2.3) (#606) * OSSM-742 Improve Maistra container images build (#534) * OSSM-742 Improve Maistra container images build * Simplify make rules and Dockerfiles * Fix dockerfiles lint issues * Reorganize files and apply image naming convention * Update MAISTRA_VERSION and ISTIO_VERSION * Adapt images builds relying on upstream build tool * Add copyright and license into scripts * chore: updates image labels to reflect actual targeted versions * chore: removes vendor left-overs Co-authored-by: bmangoen <bmangoen@gmail.com>
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.
Please provide a description of this PR:
maketargets.Example:
make HUB=quay.io/my_example_repository push.maistra-image.pilotwill build and push the Maistra Pilot container image to quay.io/my_example_repositoryTo help us figure out who should review this PR, please put an X in all the areas that this PR affects.
Please check any characteristics that apply to this pull request.