Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v13] Update docker images #27502

Merged
merged 2 commits into from
Jun 8, 2023
Merged

[v13] Update docker images #27502

merged 2 commits into from
Jun 8, 2023

Conversation

jakule
Copy link
Contributor

@jakule jakule commented Jun 6, 2023

Backport of #27175 and #26905

* Update base Ubuntu image to 22.04

* Revert the ubuntu image to 20.04

* Update the Dockerfile comment

* Add CentOS 7 note

* Add Connect note
* Move Connect build to a new Docker container

* Update comments

* Update comments
Remove unused packages and unused arguments

* Always use UID=1000 for building teleterm.
Copy link
Collaborator

@r0mant r0mant left a comment

Choose a reason for hiding this comment

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

Requesting changes until we understand how this affects our glibc compatibility.

Moreover, I'm not sure if this should be backported to stable release branches at all tbh to avoid breaking compatibility mid-release. We've been there before and it generates support load. Is there a reason we'd want to backport?

@@ -96,7 +94,7 @@ RUN mkdir -p /opt && cd /opt && \
# 4. Fast, language-dependent dependencies
# 5. Multi-stage layer copies

FROM ubuntu:18.04 AS buildbox
FROM ubuntu:20.04 AS buildbox
Copy link
Collaborator

Choose a reason for hiding this comment

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

I might have missed it in the original discussion, but wouldn't bumping version to 20.04 raise our minimum glibc version requirement?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I want to backport this as Ubuntu 18.04 is EOL. Bumping the glibc version on the buildbox won't change the glibc version required by Teleport as we're using CentOS 7 for Teleport and the new Connect image for Teleport Connect releases.

Copy link
Contributor

@codingllama codingllama left a comment

Choose a reason for hiding this comment

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

Please make sure @r0mant is happy with the changes before merging this or the other backports, otherwise LGTM.

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from gzdunek June 7, 2023 14:13
Copy link
Contributor

@gzdunek gzdunek left a comment

Choose a reason for hiding this comment

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

This PR only raises the glibc requirement of Teleport Connect to 2.28 as it is built on Debian 10.

@jakule jakule added this pull request to the merge queue Jun 8, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 8, 2023
@jakule jakule added this pull request to the merge queue Jun 8, 2023
Merged via the queue into branch/v13 with commit f2a3318 Jun 8, 2023
28 checks passed
@jakule jakule deleted the jakule/v13/docker-backport branch June 8, 2023 15:07
@r0mant r0mant mentioned this pull request Jul 14, 2023
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.

None yet

5 participants