Skip to content

Conversation

@aldy505
Copy link
Collaborator

@aldy505 aldy505 commented Jun 12, 2025

The runtime image shouldn't use rust as the image base, since we don't need any cargo or rustc binary. Instead, we can just use bookworm-slim and install sqlite3 dev headers there.

@aldy505 aldy505 requested a review from a team as a code owner June 12, 2025 01:39
Copy link
Member

@evanh evanh left a comment

Choose a reason for hiding this comment

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

/gcbrun

Dockerfile.dev Outdated
@@ -0,0 +1,55 @@
# Build image
Copy link
Member

Choose a reason for hiding this comment

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

What is this file for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Honestly I don't know. I was gonna ask you about that: why are you using rust as your base image?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If you don't have any importance/relying on rust being the base image, we can delete this

Copy link
Member

Choose a reason for hiding this comment

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

No I mean, why did you create this new file?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh, so that you can still use it if you depends on rust being base image.

Copy link
Member

Choose a reason for hiding this comment

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

Where would it be used? The images we use in self-hosted, and saas all come from the standard Dockerfile. Could we remove this dockerfile as it won't be used?

@markstory
Copy link
Member

/gcbrun

Copy link
Member

@markstory markstory left a comment

Choose a reason for hiding this comment

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

This looks good once we get the Dockerfile.dev removed.

@aldy505
Copy link
Collaborator Author

aldy505 commented Jun 12, 2025

@markstory done!

@markstory
Copy link
Member

/gcbrun

@markstory markstory merged commit cca2061 into getsentry:main Jun 13, 2025
17 checks passed
@sentry-taskbroker-fast-revert-bot

PR reverted: 44e3d1d

sentry-taskbroker-fast-revert-bot bot pushed a commit that referenced this pull request Jun 13, 2025
@markstory
Copy link
Member

This had to be reverted as the runtime image had broken SSL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants