build: Pull spire-server and spire-agent from prebuilt containers#4667
build: Pull spire-server and spire-agent from prebuilt containers#4667bnevis-i merged 1 commit intoedgexfoundry:mainfrom bnevis-i:spire-optimization
Conversation
jim-wang-yutsung
left a comment
There was a problem hiding this comment.
make docker and run dev works;
need to fix the hadolint dockerfile issues DL3026
Signed-off-by: Bryon Nevis <bryon.nevis@intel.com>
|
Kudos, SonarCloud Quality Gate passed!
|
Thanks, @jim-wang-intel . I added github container registry to the allow list. |
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more. @@ Coverage Diff @@
## main #4667 +/- ##
=======================================
Coverage 41.88% 41.88%
=======================================
Files 105 105
Lines 9702 9702
=======================================
Hits 4064 4064
Misses 5296 5296
Partials 342 342 |
|
Validation completed on aarch64 vm. |








SPIRE project is now publishing prebuilt containers for linux/amd64 and linux/arm64 on their github project that have statically-linked spire-server and spire-agent components. Rather than building locally, we can just reference the GHCR containers in a FROM line and directly pull in the binaries, without having to waste time building them.
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:describing the break)Testing Instructions
"make docker" in this repo and "make run dev delayed-start ds-virtual" in edgex-compose/compose-builder and ensure all containers start properly. This should be tested both on Intel and ARM64 architectures to be valid.
New Dependency Instructions (If applicable)