Skip to content

Update Dockerfile to use python base image#47

Merged
stevendborrelli merged 3 commits intocrossplane-contrib:mainfrom
stevendborrelli:dockerfile-update
May 15, 2025
Merged

Update Dockerfile to use python base image#47
stevendborrelli merged 3 commits intocrossplane-contrib:mainfrom
stevendborrelli:dockerfile-update

Conversation

@stevendborrelli
Copy link
Copy Markdown
Member

@stevendborrelli stevendborrelli commented May 12, 2025

Description of your changes

Update Dockerfile to fix rendering issues on Mac.

  • Moves from distroless to python base image. The go builder also uses bookworm
  • refactor Dockerfile to remove copying from build container

Fixes #46

Please note this image has several vulnerabilities https://hub.docker.com/_/python/tags?name=3.13-bookworm, but is the newest stable build.

I have:

Copy link
Copy Markdown
Collaborator

@humoflife humoflife left a comment

Choose a reason for hiding this comment

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

Thanks for updating the Dockerfile. unzip and install of aws-cli could be slightly streamlined.

Signed-off-by: Steven Borrelli <steve@borrelli.org>
Signed-off-by: Steven Borrelli <steve@borrelli.org>
Signed-off-by: Steven Borrelli <steve@borrelli.org>
@stevendborrelli stevendborrelli merged commit 24ff4a6 into crossplane-contrib:main May 15, 2025
6 checks passed
@stevendborrelli stevendborrelli deleted the dockerfile-update branch May 15, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

function does not render on Mac

2 participants