-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the build of the docker image; Added test for running sdocker i…
…mage Details: * The Dockerfile used the python:3.12-slim image for the builder environment and switched that to the python:3.12-alpine image for the final container environment. The installation of the 'rpds' Python package builds a shared library. That library was built against the builder OS and then attempted to be run in the (different) final OS. The two OS images were different enough for that to fail. Fixed that by using the same OS image python:3.12-slim for both enviroments. This increased the image size from 86 MB to 186 MB. * Added showing the rpds package files to the docker builder phase. * Added test to 'docker make' for running the docker image to show the exporter version. Signed-off-by: Andreas Maier <[email protected]>
- Loading branch information
1 parent
9778e8a
commit eff8976
Showing
3 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Fixed the build of the docker image which failed with an ImportError | ||
on the rpds package. Added test for running the docker image. |