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

Update "oracle" variants to be the default variants #867

Merged
merged 1 commit into from Jul 5, 2022

Conversation

tianon
Copy link
Member

@tianon tianon commented Jun 13, 2022

The Oracle Linux-based images:

  • are smaller (by a pretty non-trivial amount - nearly 100MiB)
  • support more architectures (arm64!)
  • are more supported/recommended by MySQL upstream

I do not believe it is common for users to install additional packages in images that are FROM mysql, but if it is, the Debian-based images are not going away with this change (those users will just have to adapt - either by switching their package installations to Oracle-based packages or by using the Debian-based variants explicitly).

The Oracle Linux-based images:

- are smaller (by a pretty non-trivial amount - nearly 100MiB)
- support more architectures (arm64!)
- are more supported/recommended by MySQL upstream

I do not believe it is common for users to install additional packages in images that are `FROM mysql`, but if it is, the Debian-based images are not going away with this change (those users will just have to adapt - either by switching their package installations to Oracle-based packages or by using the Debian-based variants explicitly).
@tianon
Copy link
Member Author

tianon commented Jun 30, 2022

LOL, I just started making this exact same PR a second time:

Update "oracle" variants to be the default variants

To reiterate the rationale:

  • more "upstream-supported" configuration
  • more architectures (hello, arm64v8!)
  • smaller images 👀
  • mysqlsh

These variants have been available since February (#680), and we're not planning to remove the Debian-based variants of 5.7 or 8.0 anytime soon (however, if there's ever an 8.1 or 9.0, that will likely be Oracle-only).

IMO we should move forward with this on Tuesday of next week right after the US holiday.

@tianon tianon requested a review from yosifkit June 30, 2022 18:23
@tianon tianon merged commit f8d76ae into docker-library:master Jul 5, 2022
@tianon tianon deleted the oracle branch July 5, 2022 16:20
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Jul 5, 2022
Changes:

- docker-library/mysql@f8d76ae: Merge pull request docker-library/mysql#867 from infosiftr/oracle
- docker-library/mysql@6cb7337: Merge pull request docker-library/mysql#866 from infosiftr/bullseye
Nothing4You added a commit to Nothing4You/aiomysql that referenced this pull request Jul 7, 2022
… remove our workaround for setting the socket path

with docker-library/mysql#867 images without distro tag are now built on oracle linux by default.
this change removed /etc/mysql/mysql.conf.d from the image, see also docker-library/mysql#876.
this also means we no longer need to work around the socket path being overridden in another config file and we can use the same logic as on all other images.
Nothing4You added a commit to aio-libs/aiomysql that referenced this pull request Jul 7, 2022
… remove our workaround for setting the socket path (#811)

with docker-library/mysql#867 images without distro tag are now built on oracle linux by default.
this change removed /etc/mysql/mysql.conf.d from the image, see also docker-library/mysql#876.
this also means we no longer need to work around the socket path being overridden in another config file and we can use the same logic as on all other images.
BaurzhanSakhariev pushed a commit to crate/official-images that referenced this pull request Jul 18, 2022
Changes:

- docker-library/mysql@f8d76ae: Merge pull request docker-library/mysql#867 from infosiftr/oracle
- docker-library/mysql@6cb7337: Merge pull request docker-library/mysql#866 from infosiftr/bullseye
@michaelk83 michaelk83 mentioned this pull request Jul 3, 2023
@jnoordsij jnoordsij mentioned this pull request Apr 30, 2024
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.

None yet

2 participants